comment on v9 stuff
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
8b0f1c20 1# .Sanitize for devo/bfd.
08942d11 2
a92c5906 3# Each directory to survive its way into a release will need a file
08942d11
RP
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
8b0f1c20 14# done in this directory.
08942d11
RP
15
16Do-first:
17
a92c5906 18if ( echo $* | grep keep\-mpw > /dev/null ) ; then
e4c7516b
SS
19 keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}"
20else
21 lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}"
22fi
23
24if ( echo $* | grep keep\-gm > /dev/null ) ; then
8b0f1c20 25 keep_these_too="ChangeLog.gm ${keep_these_too}"
e4c7516b 26else
8b0f1c20 27 lose_these_too="ChangeLog.gm ${lose_these_too}"
a92c5906
SS
28fi
29
08942d11
RP
30# All files listed between the "Things-to-keep:" line and the
31# "Files-to-sed:" line will be kept. All other files will be removed.
32# Directories listed in this section will have their own Sanitize
33# called. Directories not listed will be removed in their entirety
34# with rm -rf.
35
36Things-to-keep:
87756e15 37
08942d11
RP
38COPYING
39ChangeLog
ceeca31c 40ChangeLog.1
08942d11 41Makefile.in
c3e964b9 42PORTING
08942d11 43TODO
8c1891af 44VERSION
60ac749c 45aix386-core.c
c3e964b9
FF
46aout-adobe.c
47aout-encap.c
48aout-target.h
77d11284 49aout0.c
08942d11
RP
50aout32.c
51aout64.c
52aoutf1.h
08942d11
RP
53aoutx.h
54archive.c
55archures.c
901c5bfd 56bfd-in.h
b9653d81 57bfd-in2.h
08942d11 58bfd.c
08942d11
RP
59bout.c
60cache.c
e3b5bfa8
SS
61cf-i386lynx.c
62cf-m68klynx.c
63cf-sparclynx.c
5d70e4d1 64cisco-core.c
156e3852 65coff-a29k.c
c3e964b9 66coff-alpha.c
97eb2f0c 67coff-apollo.c
c06e55d9 68coff-go32.c
71e34032 69coff-h8300.c
ff975a2c 70coff-h8500.c
156e3852
JG
71coff-i386.c
72coff-i960.c
c3e964b9 73coff-m68k.c
156e3852
JG
74coff-m88k.c
75coff-mips.c
76coff-rs6000.c
9faacb92 77coff-sh.c
e3b5bfa8 78coff-sparc.c
df61743d 79coff-u68k.c
c7551f76 80coff-we32k.c
d41ab714 81coff-z8k.c
08942d11 82coffcode.h
075caafd
ILT
83coffgen.c
84coffswap.h
fb1c4481 85config
14616002 86config.bfd
13b351cc 87configure.bat
5a5fa368 88configure.host
c3e964b9 89configure.in
6f715d66 90core.c
c3e964b9
FF
91cpu-a29k.c
92cpu-alpha.c
93cpu-h8300.c
94cpu-h8500.c
95cpu-hppa.c
96cpu-i386.c
97cpu-i960.c
98cpu-m68k.c
99cpu-m88k.c
100cpu-mips.c
384c1791 101cpu-powerpc.c
c3e964b9
FF
102cpu-rs6000.c
103cpu-sh.c
104cpu-sparc.c
105cpu-vax.c
106cpu-we32k.c
107cpu-z8k.c
108ctor.c
08942d11 109demo64.c
97eb2f0c 110dep-in.sed
c3e964b9 111doc
dae31cf5 112ecoff.c
71efdf83 113ecofflink.c
dae31cf5 114ecoffswap.h
cef91d75 115elf.c
d39d83c1 116elf32-gen.c
c268b400
KR
117elf32-hppa.c
118elf32-hppa.h
4743848f
KR
119elf32-i386.c
120elf32-i860.c
121elf32-m68k.c
2c4f2c72
JK
122elf32-m88k.c
123elf32-mips.c
45ccfd58 124elf32-ppc.c
8d936d1f 125elf32-sparc.c
4743848f
KR
126elf32-target.h
127elf32.c
d39d83c1 128elf64-gen.c
66599384 129elf64-sparc.c
b864c03c 130elf64-target.h
4bf86ecb 131elf64.c
ef7e172e 132elfcode.h
08942d11 133filemode.c
6f715d66 134format.c
608de555 135gen-aout.c
da6b2d99
ILT
136genlink.h
137hash.c
08942d11 138host-aout.c
90c7c720 139hosts
c3e964b9 140hp300bsd.c
c268b400 141hp300hpux.c
cef91d75 142hppa_stubs.h
8a71bf96 143hppabsd-core.c
3f933620 144hpux-core.c
b7de6963 145i386aout.c
256b39e0 146i386bsd.c
bdf1b511 147i386dynix.c
afff60cd 148i386linux.c
aef0bd99 149i386lynx.c
890eafc0 150i386mach3.c
f8ffa548 151i386os9k.c
08942d11 152ieee.c
c3e964b9 153init.c
7ce1a446 154irix-core.c
141c97ea 155libaout.h
901c5bfd 156libbfd-in.h
08942d11
RP
157libbfd.c
158libbfd.h
901c5bfd 159libcoff-in.h
08942d11 160libcoff.h
a3b3dbdd 161libecoff.h
c3e964b9 162libelf.h
76b731f9 163libhppa.h
08942d11 164libieee.h
c3e964b9 165libnlm.h
08942d11 166liboasys.h
da6b2d99 167linker.c
3151f12f 168lynx-core.c
eefe075d 169m68klynx.c
044c1ba9 170mipsbsd.c
08942d11 171newsos3.c
fbd5481a 172netbsd386.c
d1f83f44 173nlm-target.h
c3e964b9 174nlm.c
1bbabdad 175nlm32-alpha.c
8fa7a236 176nlm32-i386.c
7ce8b9d1 177nlm32-ppc.c
38f422db 178nlm32-sparc.c
c3e964b9 179nlm32.c
c3e964b9
FF
180nlm64.c
181nlmcode.h
38f422db 182nlmswap.h
08942d11
RP
183oasys.c
184opncls.c
4346ee0f 185osf-core.c
c236d8b3 186ptrace-core.c
6f715d66 187reloc.c
075caafd 188reloc16.c
cf15d9e9 189rs6000-core.c
6f715d66 190section.c
66eca5ee
JK
191som.c
192som.h
e3b5bfa8 193sparclynx.c
08942d11 194srec.c
7de245d3 195stab-syms.c
08942d11 196sunos.c
6f715d66 197syms.c
08942d11 198targets.c
a14b2941 199tekhex.c
08942d11 200trad-core.c
08942d11 201
87756e15
RP
202Things-to-lose:
203
775d4a40 204
08942d11
RP
205Do-last:
206
fbe3316a
SS
207mpwfiles="coffswap.h"
208if ( echo $* | grep keep\-mpw > /dev/null ) ; then
209 if [ -n "${verbose}" ] ; then
210 echo Keeping mpw stuff in $mpwfiles.
211 fi
212else
213 if [ -n "${verbose}" ]; then
214 echo -n Cleaning mpw in `pwd`:
215 fi
216 for f in $mpwfiles ; do
217 if [ -n "${verbose}" ] ; then
218 echo -n " " $f
219 fi
220 sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
221 if [ -n "${safe}" ] ; then
222 mv $f .Recover
223 fi
224 mv new $f
225 done
226 chmod a+x config.bfd
227fi
228
08942d11 229# End of file.
This page took 0.123456 seconds and 4 git commands to generate.