]> Git Repo - binutils.git/blame - bfd/.Sanitize
Initial revision
[binutils.git] / bfd / .Sanitize
CommitLineData
08942d11
RP
1# Sanitize.in for devo.
2# $Id$
3#
4
5# Each directory to survive it's way into a release will need a file
6# like this one called "./.Sanitize". All keyword lines must exist,
7# and must exist in the order specified by this file. Each directory
8# in the tree will be processed, top down, in the following order.
9
10# Hash started lines like this one are comments and will be deleted
11# before anything else is done. Blank lines will also be squashed
12# out.
13
14# The lines between the "Do-first:" line and the "Things-to-keep:"
15# line are executed as a /bin/sh shell script before anything else is
16# done in this
17
18Do-first:
19
446545dd 20echo Sanitizing `pwd`.
08942d11
RP
21
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" line will be kept. All other files will be removed.
24# Directories listed in this section will have their own Sanitize
25# called. Directories not listed will be removed in their entirety
26# with rm -rf.
27
28Things-to-keep:
08942d11
RP
29COPYING
30ChangeLog
31Makefile.in
32TODO
8c1891af 33VERSION
fb1c4481 34amdcoff.c
08942d11
RP
35aout32.c
36aout64.c
37aoutf1.h
08942d11
RP
38aoutx.h
39archive.c
40archures.c
08942d11 41bfd.c
fb1c4481 42bfd.texinfo
08942d11
RP
43bout.c
44cache.c
08942d11 45coffcode.h
fb1c4481 46config
a4c407e5 47configure
08942d11 48configure.in
6f715d66 49core.c
08942d11
RP
50demo64.c
51ecoff.c
52filemode.c
6f715d66 53format.c
08942d11 54host-aout.c
8c1891af 55i386coff.c
08942d11
RP
56icoff.c
57ieee.c
141c97ea 58libaout.h
08942d11
RP
59libbfd.c
60libbfd.h
61libcoff.h
62libieee.h
63liboasys.h
64m68kcoff.c
65m88k-bcs.c
08942d11
RP
66newsos3.c
67oasys.c
68opncls.c
6f715d66
SC
69reloc.c
70section.c
08942d11
RP
71srec.c
72sunos.c
6f715d66 73syms.c
08942d11
RP
74targets.c
75trad-core.c
76trad-core.h
77
78Do-last:
79
446545dd
JG
80if ( echo $* | grep keep\-v9 > /dev/null ) ; then
81 echo Keeping v9 in aoutx.h
82else
83 echo Sanitizing v9 in aoutx.h
84 rm -f new
85 while grep -s start-sanitize-v9 aoutx.h ; do
86 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
87 rm aoutx.h
88 mv new aoutx.h
89 done
90fi
91
de02577e 92if ( echo $* | grep keep\-29k > /dev/null ) ; then
fab4b2d3 93 echo Keeping 29k in amdcoff.c and Makefile.in and targets.c
de02577e 94else
fab4b2d3 95 echo Sanitizing 29k in amdcoff.c and Makefile.in and targets.c
de02577e
JG
96 rm -f amdcoff.c
97 rm -f new
98 sed -e 's/ amdcoff.[co] / /g' <Makefile.in >new
99 mv new Makefile.in
fab4b2d3
JG
100 sed -e '/a29kcoff/d' <targets.c >new
101 mv new targets.c
de02577e
JG
102fi
103
08942d11
RP
104echo Done in `pwd`.
105
106#
107#
108# $Log$
fab4b2d3
JG
109# Revision 1.12 1991/08/01 05:33:39 gnu
110# Forgot one more place to remove amdcoff.c reference (sigh).
111#
112# Revision 1.11 1991/08/01 01:27:44 gnu
3c123e24
JG
113# Delete CVS.adm from the release!
114#
115# Revision 1.10 1991/07/31 22:28:30 gnu
96d38440
JG
116# Remove archures.h
117#
118# Revision 1.9 1991/07/31 17:37:00 gnu
de02577e
JG
119# Remove amdcoff.c (and its name from Makefile.in) by default, because
120# its copyright is not yet assigned to FSF.
121#
122# Revision 1.8 1991/07/31 07:54:31 gnu
446545dd
JG
123# Better sanitize aoutx.h too!
124#
125# Revision 1.7 1991/07/16 00:39:03 steve
fb1c4481
SC
126# *** empty log message ***
127#
128# Revision 1.6 1991/07/16 00:35:56 steve
a4c407e5
SC
129# *** empty log message ***
130#
131# Revision 1.5 1991/07/15 23:32:40 steve
a737c70b
SC
132# *** empty log message ***
133#
134# Revision 1.4 1991/07/04 16:52:54 steve
6f715d66
SC
135# Now full of documentation. Yum Yum.
136#
137# Revision 1.3 1991/05/31 11:22:12 gnu
141c97ea
JG
138# Remove coff-code.h and liba.out.h, add libaout.h.
139#
140# Revision 1.2 1991/05/29 02:40:08 gnu
8c1891af
JG
141# Fix up .Sanitize file, remove files that are not referenced.
142#
143# Revision 1.1 1991/05/23 21:14:00 rich
08942d11
RP
144# Initial revision
145#
146#
147#
148
149# End of file.
This page took 0.0405720000000001 seconds and 4 git commands to generate.