Don't want the new files to disappear unexpectedly!
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # Sanitize.in for devo/bfd.
2
3 # Each directory to survive it's way into a release will need a file
4 # like this one called "./.Sanitize". All keyword lines must exist,
5 # and must exist in the order specified by this file. Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done. Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this
15
16 Do-first:
17
18 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="elf64-sparc.c"
20 else
21 lose_these_too="elf64-sparc.c"
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31
32 COPYING
33 ChangeLog
34 Makefile.in
35 PORTING
36 TODO
37 VERSION
38 aix386-core.c
39 aout-adobe.c
40 aout-encap.c
41 aout-target.h
42 aout32.c
43 aout64.c
44 aoutf1.h
45 aoutx.h
46 archive.c
47 archures.c
48 bfd-in.h
49 bfd-in2.h
50 bfd.c
51 bout.c
52 cache.c
53 cf-i386lynx.c
54 cf-m68klynx.c
55 cf-sparclynx.c
56 coff-a29k.c
57 coff-alpha.c
58 coff-apollo.c
59 coff-h8300.c
60 coff-h8500.c
61 coff-i386.c
62 coff-i960.c
63 coff-m68k.c
64 coff-m88k.c
65 coff-mips.c
66 coff-rs6000.c
67 coff-sh.c
68 coff-sparc.c
69 coff-u68k.c
70 coff-we32k.c
71 coff-z8k.c
72 coffcode.h
73 coffgen.c
74 coffswap.h
75 config
76 config.bfd
77 configure.bat
78 configure.host
79 configure.in
80 core.c
81 cpu-a29k.c
82 cpu-alpha.c
83 cpu-h8300.c
84 cpu-h8500.c
85 cpu-hppa.c
86 cpu-i386.c
87 cpu-i960.c
88 cpu-m68k.c
89 cpu-m88k.c
90 cpu-mips.c
91 cpu-rs6000.c
92 cpu-sh.c
93 cpu-sparc.c
94 cpu-vax.c
95 cpu-we32k.c
96 cpu-z8k.c
97 ctor.c
98 demo64.c
99 dep-in.sed
100 doc
101 ecoff.c
102 ecoffswap.h
103 elf.c
104 elf32-gen.c
105 elf32-hppa.c
106 elf32-hppa.h
107 elf32-i386.c
108 elf32-i860.c
109 elf32-m68k.c
110 elf32-m88k.c
111 elf32-mips.c
112 elf32-sparc.c
113 elf32-target.h
114 elf32.c
115 elf64-gen.c
116 elf64-target.h
117 elf64.c
118 elfcode.h
119 filemode.c
120 format.c
121 gen-aout.c
122 host-aout.c
123 hosts
124 hp300bsd.c
125 hp300hpux.c
126 hppa_stubs.h
127 hppabsd-core.c
128 hpux-core.c
129 i386aout.c
130 i386bsd.c
131 i386linux.c
132 i386lynx.c
133 i386mach3.c
134 ieee.c
135 init.c
136 libaout.h
137 libbfd-in.h
138 libbfd.c
139 libbfd.h
140 libcoff-in.h
141 libcoff.h
142 libecoff.h
143 libelf.h
144 libhppa.h
145 libieee.h
146 libnlm.h
147 liboasys.h
148 lynx-core.c
149 m68klynx.c
150 mipsbsd.c
151 newsos3.c
152 netbsd386.c
153 nlm-target.h
154 nlm.c
155 nlm32-gen.c
156 nlm32-i386.c
157 nlm32-sparc.c
158 nlm32.c
159 nlm64-gen.c
160 nlm64.c
161 nlmcode.h
162 nlmswap.h
163 oasys.c
164 opncls.c
165 osf-core.c
166 reloc.c
167 reloc16.c
168 rs6000-core.c
169 seclet.c
170 seclet.h
171 section.c
172 som.c
173 som.h
174 sparclynx.c
175 srec.c
176 stab-syms.c
177 sunos.c
178 syms.c
179 targets.c
180 tekhex.c
181 trad-core.c
182
183 Things-to-lose:
184
185
186 Do-last:
187
188 v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
189 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
190 if [ -n "${verbose}" ] ; then
191 echo Keeping v9 stuff in $v9files.
192 fi
193 else
194 if [ -n "${verbose}" ]; then
195 echo -n Cleaning v9 in `pwd`:
196 fi
197 for f in $v9files ; do
198 if [ -n "${verbose}" ] ; then
199 echo -n " " $f
200 fi
201 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
202 if [ -n "${safe}" ] ; then
203 mv $f .Recover
204 fi
205 mv new $f
206 done
207 chmod a+x config.bfd
208 fi
209
210
211 # End of file.
This page took 0.057023 seconds and 5 git commands to generate.