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