Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
aee06af3 1# Sanitize.in for devo/bfd.
08942d11
RP
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
08942d11
RP
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
08942d11 25COPYING
9ef1e2da 26PORTING
86835b01 27doc
08942d11 28ChangeLog
13b351cc 29Makefile.dos
08942d11
RP
30Makefile.in
31TODO
8c1891af 32VERSION
60ac749c 33aix386-core.c
08942d11
RP
34aout32.c
35aout64.c
36aoutf1.h
08942d11 37aoutx.h
4846e30f 38aout-adobe.c
9e2b3581 39aout-encap.c
a89f7423 40aout-target.h
08942d11
RP
41archive.c
42archures.c
901c5bfd 43bfd-in.h
08942d11 44bfd.c
08942d11
RP
45bout.c
46cache.c
e181b631 47ctor.c
156e3852 48coff-a29k.c
71e34032 49coff-h8300.c
156e3852
JG
50coff-i386.c
51coff-i960.c
52coff-m68k.c
53coff-m88k.c
54coff-mips.c
583f79e9 55coff-msym.c
156e3852 56coff-rs6000.c
c7551f76 57coff-we32k.c
d41ab714 58coff-z8k.c
08942d11 59coffcode.h
075caafd
ILT
60coffgen.c
61coffswap.h
fb1c4481 62config
13b351cc 63configure.bat
08942d11 64configure.in
5a5fa368 65configure.host
6f715d66 66core.c
08942d11 67demo64.c
ea3768dc 68elf.c
08942d11 69filemode.c
6f715d66 70format.c
608de555 71gen-aout.c
08942d11 72host-aout.c
90c7c720 73hosts
76b731f9 74hppa.c
b7de6963 75i386aout.c
256b39e0 76i386bsd.c
afff60cd 77i386linux.c
08942d11 78ieee.c
141c97ea 79libaout.h
901c5bfd 80libbfd-in.h
63ffe5ef
SC
81cpu-a29k.c
82cpu-i386.c
83cpu-m68k.c
84cpu-mips.c
85cpu-vax.c
86cpu-h8300.c
76b731f9 87cpu-hppa.c
63ffe5ef
SC
88cpu-i960.c
89cpu-m88k.c
cc97dfbb 90cpu-rs6000.c
c7551f76 91cpu-we32k.c
d41ab714 92cpu-z8k.c
1d535e75 93hp300bsd.c
63ffe5ef 94init.c
63ffe5ef 95cpu-sparc.c
08942d11
RP
96libbfd.c
97libbfd.h
901c5bfd 98libcoff-in.h
08942d11 99libcoff.h
76b731f9 100libhppa.h
08942d11
RP
101libieee.h
102liboasys.h
08942d11
RP
103newsos3.c
104oasys.c
105opncls.c
6f715d66 106reloc.c
075caafd 107reloc16.c
cf15d9e9 108rs6000-core.c
42c39b69 109sco-core.c
e98e6ec1 110seclet.c
dc72b0b6 111seclet.h
6f715d66 112section.c
08942d11 113srec.c
7de245d3 114stab-syms.c
08942d11 115sunos.c
6f715d66 116syms.c
08942d11 117targets.c
a14b2941 118tekhex.c
08942d11 119trad-core.c
08942d11
RP
120
121Do-last:
122
446545dd 123if ( echo $* | grep keep\-v9 > /dev/null ) ; then
5d74c1e5 124 echo Keeping v9 in aoutx.h
446545dd
JG
125else
126 echo Sanitizing v9 in aoutx.h
127 rm -f new
128 while grep -s start-sanitize-v9 aoutx.h ; do
129 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
01f0a88e
RP
130 if [ -n "${safe}" ] ; then
131 mv aoutx.h .Recover
132 else
133 rm aoutx.h
134 fi
446545dd
JG
135 mv new aoutx.h
136 done
137fi
138
08942d11
RP
139echo Done in `pwd`.
140
08942d11 141# End of file.
This page took 0.061394 seconds and 4 git commands to generate.