]> Git Repo - binutils.git/blob - bfd/.Sanitize
New config.sub
[binutils.git] / bfd / .Sanitize
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
18 Do-first:
19
20 echo Sanitizing `pwd`.
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
28 Things-to-keep:
29 COPYING
30 ChangeLog
31 Makefile.in
32 TODO
33 VERSION
34 amdcoff.c
35 aout32.c
36 aout64.c
37 aoutf1.h
38 aoutx.h
39 archive.c
40 archures.c
41 awkscan
42 awkscan-ip
43 awkscan-p
44 bfd-in.h
45 bfd.c
46 bfd.doc.ps
47 bfd.texinfo
48 blins-p
49 bout.c
50 cache.c
51 coffcode.h
52 config
53 config.sub
54 configure
55 configure.in
56 core.c
57 demo64.c
58 ecoff.c
59 exfilter
60 exmerge
61 filemode.c
62 format.c
63 host-aout.c
64 i386coff.c
65 icoff.c
66 ieee.c
67 intobfd
68 libaout.h
69 libbfd-in.h
70 libbfd.c
71 libbfd.h
72 libcoff-in.h
73 libcoff.h
74 libieee.h
75 liboasys.h
76 m68kcoff.c
77 m88k-bcs.c
78 mergecom-p
79 movecom-p
80 newsos3.c
81 oasys.c
82 opncls.c
83 reloc.c
84 scanit
85 scanph
86 section.c
87 sedscript
88 sedscript-p
89 srec.c
90 startcom-p
91 sunos.c
92 syms.c
93 targets.c
94 tolibbfd
95 tolibcoff
96 trad-core.c
97 trad-core.h
98 unPROTO
99
100 Do-last:
101
102 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
103         echo Keeping v9 in aoutx.h
104 else
105         echo Sanitizing v9 in aoutx.h
106         rm -f new
107         while grep -s start-sanitize-v9 aoutx.h ; do
108                 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
109                 rm aoutx.h
110                 mv new aoutx.h
111         done
112 fi
113
114 if ( echo $* | grep keep\-29k > /dev/null ) ; then
115         echo Keeping 29k in amdcoff.c and Makefile.in and targets.c
116 else
117         echo Sanitizing 29k in amdcoff.c and Makefile.in and targets.c
118         rm -f amdcoff.c
119         rm -f new
120         sed -e 's/ amdcoff.[co] / /g' <Makefile.in >new
121         mv new Makefile.in
122         sed -e '/a29kcoff/d' <targets.c >new
123         mv new targets.c
124 fi
125
126 echo Done in `pwd`.
127
128 #
129 #
130 # $Log$
131 # Revision 1.16  1991/08/22 07:31:21  gnu
132 # New config.sub
133 #
134 # Revision 1.15  1991/08/22  07:20:49  gnu
135 # Improve our Sanity.
136 #
137 # Revision 1.14  1991/08/17  00:17:00  steve
138 # Documentation
139 #
140 # Revision 1.13  1991/08/01  14:37:51  steve
141 # *** empty log message ***
142 #
143 # Revision 1.12  1991/08/01  05:33:39  gnu
144 # Forgot one more place to remove amdcoff.c reference (sigh).
145 #
146 # Revision 1.11  1991/08/01  01:27:44  gnu
147 # Delete CVS.adm from the release!
148 #
149 # Revision 1.10  1991/07/31  22:28:30  gnu
150 # Remove archures.h
151 #
152 # Revision 1.9  1991/07/31  17:37:00  gnu
153 # Remove amdcoff.c (and its name from Makefile.in) by default, because
154 # its copyright is not yet assigned to FSF.
155 #
156 # Revision 1.8  1991/07/31  07:54:31  gnu
157 # Better sanitize aoutx.h too!
158 #
159 # Revision 1.7  1991/07/16  00:39:03  steve
160 # *** empty log message ***
161 #
162 # Revision 1.6  1991/07/16  00:35:56  steve
163 # *** empty log message ***
164 #
165 # Revision 1.5  1991/07/15  23:32:40  steve
166 # *** empty log message ***
167 #
168 # Revision 1.4  1991/07/04  16:52:54  steve
169 # Now full of documentation. Yum Yum.
170 #
171 # Revision 1.3  1991/05/31  11:22:12  gnu
172 # Remove coff-code.h and liba.out.h, add libaout.h.
173 #
174 # Revision 1.2  1991/05/29  02:40:08  gnu
175 # Fix up .Sanitize file, remove files that are not referenced.
176 #
177 # Revision 1.1  1991/05/23  21:14:00  rich
178 # Initial revision
179 #
180 #
181 #
182
183 # End of file.
This page took 0.031679 seconds and 4 git commands to generate.