Add testsuite to list of things to save.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
1 # .Sanitize for devo/gdb.
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\-chill > /dev/null ) ; then
19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.c"
20 fi
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
30 .gdbinit
31 29k-share
32 COPYING
33 ChangeLog
34 ChangeLog-3.x
35 ChangeLog-9091
36 Convex.notes
37 Makefile.in
38 NEWS
39 Projects
40 README
41 TODO
42 a68v-nat.c
43 alldeps.mak
44 alloca.c
45 altos-xdep.c
46 am29k-pinsn.c
47 am29k-tdep.c
48 arm-convert.s
49 arm-pinsn.c
50 arm-tdep.c
51 arm-xdep.c
52 blockframe.c
53 breakpoint.c
54 breakpoint.h
55 buildsym.c
56 buildsym.h
57 c-exp.y
58 c-lang.c
59 c-lang.h
60 c-typeprint.c
61 c-valprint.c
62 call-cmds.h
63 coffread.c
64 command.c
65 command.h
66 complaints.c
67 complaints.h
68 config
69 configure.in
70 convex-pinsn.c
71 convex-tdep.c
72 convex-xdep.c
73 copying.awk
74 copying.c
75 core.c
76 coredep.c
77 corelow.c
78 cp-valprint.c
79 createtags
80 dbxread.c
81 defs.h
82 demangle.c
83 depend
84 doc
85 dwarfread.c
86 elfread.c
87 environ.c
88 environ.h
89 eval.c
90 exec.c
91 expprint.c
92 expression.h
93 findvar.c
94 fork-child.c
95 frame.h
96 gcc.patch
97 gdb-stabs.h
98 gdb.1
99 gdbcmd.h
100 gdbcore.h
101 gdbtypes.c
102 gdbtypes.h
103 go32-xdep.c
104 gould-pinsn.c
105 gould-xdep.c
106 h8300-tdep.c
107 hp300ux-nat.c
108 hppa-pinsn.c
109 hppab-core.c
110 hppab-nat.c
111 hppab-tdep.c
112 hppah-nat.c
113 hppah-tdep.c
114 i386-pinsn.c
115 i386-stub.c
116 i386-tdep.c
117 i386b-nat.c
118 i386mach-nat.c
119 i386v-nat.c
120 i386v4-nat.c
121 i387-tdep.c
122 i960-pinsn.c
123 i960-tdep.c
124 ieee-float.c
125 ieee-float.h
126 infcmd.c
127 inferior.h
128 inflow.c
129 infptrace.c
130 infrun.c
131 inftarg.c
132 irix4-nat.c
133 kdb-start.c
134 language.c
135 language.h
136 m2-exp.y
137 m2-lang.c
138 m2-lang.h
139 m2-typeprint.c
140 m2-valprint.c
141 m68k-pinsn.c
142 m68k-stub.c
143 m68k-tdep.c
144 m88k-nat.c
145 m88k-pinsn.c
146 m88k-tdep.c
147 main.c
148 maint.c
149 mem-break.c
150 minimon.h
151 minsyms.c
152 mips-nat.c
153 mips-pinsn.c
154 mips-tdep.c
155 mipsread.c
156 munch
157 news-xdep.c
158 nindy-share
159 nindy-tdep.c
160 nm-apollo68b.h
161 nm-apollo68v.h
162 nm-hp300bsd.h
163 nm-hp300hpux.h
164 nm-hppab.h
165 nm-hppah.h
166 nm-i386bsd.h
167 nm-i386mach.h
168 nm-i386sco.h
169 nm-i386sco4.h
170 nm-i386v.h
171 nm-i386v4.h
172 nm-irix3.h
173 nm-irix4.h
174 nm-linux.h
175 nm-m88k.h
176 nm-mips.h
177 nm-news.h
178 nm-rs6000.h
179 nm-sun2.h
180 nm-sun3.h
181 nm-sun386.h
182 nm-sun4os4.h
183 nm-sysv4.h
184 nm-trash.h
185 nm-ultra3.h
186 nm-umax.h
187 nm-vax.h
188 ns32k-opcode.h
189 ns32k-pinsn.c
190 objfiles.c
191 objfiles.h
192 paread.c
193 parse.c
194 parser-defs.h
195 partial-stab.h
196 printcmd.c
197 procfs.c
198 putenv.c
199 pyr-pinsn.c
200 pyr-tdep.c
201 pyr-xdep.c
202 regex.c
203 regex.h
204 rem-multi.shar
205 remote-adapt.c
206 remote-eb.c
207 remote-es1800.c
208 remote-hms.c
209 remote-mips.c
210 remote-mm.c
211 remote-nindy.c
212 remote-sim.c
213 remote-st2000.c
214 remote-udi.c
215 remote-vx.c
216 remote-z8k.c
217 remote.c
218 rs6000-nat.c
219 rs6000-pinsn.c
220 rs6000-tdep.c
221 saber.suppress
222 ser-bsd.c
223 ser-go32.c
224 ser-termios.c
225 serial.h
226 signals.h
227 solib.c
228 solib.h
229 source.c
230 sparc-nat.c
231 sparc-pinsn.c
232 sparc-stub.c
233 sparc-tdep.c
234 sparclite
235 stabsread.c
236 stabsread.h
237 stack.c
238 standalone.c
239 stuff.c
240 sun3-nat.c
241 sun386-nat.c
242 symfile.c
243 symfile.h
244 symm-tdep.c
245 symm-xdep.c
246 symmisc.c
247 symtab.c
248 symtab.h
249 tahoe-pinsn.c
250 target.c
251 target.h
252 terminal.h
253 testsuite
254 tm-29k.h
255 tm-3b1.h
256 tm-68k-noun.h
257 tm-68k-un.h
258 tm-68k.h
259 tm-altos.h
260 tm-amix.h
261 tm-arm.h
262 tm-bigmips.h
263 tm-convex.h
264 tm-delta88.h
265 tm-es1800.h
266 tm-h8300.h
267 tm-hp300bsd.h
268 tm-hp300hpux.h
269 tm-hppa.h
270 tm-hppab.h
271 tm-hppah.h
272 tm-i386bsd.h
273 tm-i386v.h
274 tm-i386v4.h
275 tm-i960.h
276 tm-irix3.h
277 tm-isi.h
278 tm-linux.h
279 tm-m88k.h
280 tm-merlin.h
281 tm-mips.h
282 tm-news.h
283 tm-nindy960.h
284 tm-np1.h
285 tm-os68k.h
286 tm-pn.h
287 tm-pyr.h
288 tm-rs6000.h
289 tm-sparc.h
290 tm-spc-noun.h
291 tm-spc-un.h
292 tm-st2000.h
293 tm-stratus.h
294 tm-sun2.h
295 tm-sun2os4.h
296 tm-sun3.h
297 tm-sun386.h
298 tm-sun3os4.h
299 tm-sun4os4.h
300 tm-sun4sol2.h
301 tm-sunos.h
302 tm-symmetry.h
303 tm-sysv4.h
304 tm-tahoe.h
305 tm-ultra3.h
306 tm-umax.h
307 tm-vax.h
308 tm-vx68.h
309 tm-vx960.h
310 tm-z8k.h
311 typeprint.c
312 typeprint.h
313 ultra3-nat.c
314 ultra3-xdep.c
315 umax-xdep.c
316 utils.c
317 valarith.c
318 valops.c
319 valprint.c
320 valprint.h
321 value.h
322 values.c
323 vax-pinsn.c
324 vx-share
325 xcoffexec.c
326 xcoffread.c
327 xcoffsolib.c
328 xcoffsolib.h
329 xm-3b1.h
330 xm-altos.h
331 xm-amix.h
332 xm-apollo68b.h
333 xm-apollo68v.h
334 xm-arm.h
335 xm-bigmips.h
336 xm-convex.h
337 xm-delta88.h
338 xm-go32.h
339 xm-hp300bsd.h
340 xm-hp300hpux.h
341 xm-hppab.h
342 xm-hppah.h
343 xm-i386bsd.h
344 xm-i386mach.h
345 xm-i386sco.h
346 xm-i386v.h
347 xm-i386v32.h
348 xm-i386v4.h
349 xm-irix3.h
350 xm-irix4.h
351 xm-isi.h
352 xm-linux.h
353 xm-m68k.h
354 xm-m88k.h
355 xm-merlin.h
356 xm-mips.h
357 xm-news.h
358 xm-news1000.h
359 xm-np1.h
360 xm-pn.h
361 xm-pyr.h
362 xm-rs6000.h
363 xm-rtbsd.h
364 xm-sparc.h
365 xm-stratus.h
366 xm-sun2.h
367 xm-sun3.h
368 xm-sun386.h
369 xm-sun3os4.h
370 xm-sun4os4.h
371 xm-sun4sol2.h
372 xm-symmetry.h
373 xm-sysv4.h
374 xm-tahoe.h
375 xm-ultra3.h
376 xm-umax.h
377 xm-vax.h
378 xm-vaxbsd.h
379 xm-vaxult.h
380 xm-vaxult2.h
381 z8k-tdep.c
382
383 Do-last:
384
385 echo Thawing away the \"chill\"...
386
387 # Don't try to clean directories here, as the 'mv' command will fail.
388 # Also, grep fails on NFS mounted directories.
389 if ( echo $* | grep keep\-chill > /dev/null ) ; then
390 for i in * ; do
391 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
392 echo Keeping chill stuff in $i
393 fi
394 done
395 else
396 for i in * ; do
397 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
398 echo Thawing the \"chill\" out of $i...
399 cp $i new
400 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
401 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
402 echo Caching $i in .Recover...
403 mv $i .Recover
404 fi
405 mv new $i
406 fi
407 done
408 echo Thawing the \"chill\" out of Makefile.in...
409 cp Makefile.in new
410 sed -e 's/$(srcdir)\/ch-exp.y//g' \
411 -e 's/${srcdir}\/ch-exp.y//g' \
412 -e 's/ch-exp.y//g' \
413 -e 's/ch-exp.tab.c//g' \
414 -e 's/ch-exp.tab.o//g' \
415 -e 's/ch-lang.h//g' \
416 -e 's/ch-lang.c//g' \
417 -e 's/ch-lang.o//g' \
418 -e 's/ch-typeprint.c//g' \
419 -e 's/ch-typeprint.o//g' \
420 -e 's/ch-valprint.c//g' \
421 -e 's/ch-valprint.o//g' \
422 < Makefile.in > new
423 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
424 echo Caching Makefile.in in .Recover...
425 mv Makefile.in .Recover
426 fi
427 mv new Makefile.in
428 fi
429
430 # End of file.
This page took 0.039945 seconds and 5 git commands to generate.