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