b5e5d7ef3548ed2a4c450633cb736013517945c3
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # Sanitize.in for devo/bfd.
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 # 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
24 Things-to-keep:
25 COPYING
26 PORTING
27 doc
28 ChangeLog
29 Makefile.dos
30 Makefile.in
31 TODO
32 VERSION
33 aix386-core.c
34 aout32.c
35 aout64.c
36 aoutf1.h
37 aoutx.h
38 aout-adobe.c
39 aout-encap.c
40 aout-mipsbsd.c
41 aout-target.h
42 archive.c
43 archures.c
44 bfd-in.h
45 bfd.c
46 bout.c
47 cache.c
48 ctor.c
49 coff-a29k.c
50 coff-h8300.c
51 coff-i386.c
52 coff-i960.c
53 coff-m68k.c
54 coff-m88k.c
55 coff-mips.c
56 coff-msym.c
57 coff-rs6000.c
58 coff-we32k.c
59 coff-z8k.c
60 coffcode.h
61 coffgen.c
62 coffswap.h
63 config
64 configure.bat
65 configure.in
66 configure.host
67 core.c
68 demo64.c
69 elf.c
70 filemode.c
71 format.c
72 gen-aout.c
73 host-aout.c
74 hosts
75 hppa.c
76 i386aout.c
77 i386bsd.c
78 i386linux.c
79 ieee.c
80 libaout.h
81 libbfd-in.h
82 cpu-a29k.c
83 cpu-i386.c
84 cpu-m68k.c
85 cpu-mips.c
86 cpu-vax.c
87 cpu-h8300.c
88 cpu-hppa.c
89 cpu-i960.c
90 cpu-m88k.c
91 cpu-rs6000.c
92 cpu-we32k.c
93 cpu-z8k.c
94 hp300bsd.c
95 init.c
96 cpu-sparc.c
97 libbfd.c
98 libbfd.h
99 libcoff-in.h
100 libcoff.h
101 libhppa.h
102 libieee.h
103 liboasys.h
104 newsos3.c
105 oasys.c
106 opncls.c
107 reloc.c
108 reloc16.c
109 rs6000-core.c
110 sco-core.c
111 seclet.c
112 seclet.h
113 section.c
114 srec.c
115 stab-syms.c
116 sunos.c
117 syms.c
118 targets.c
119 tekhex.c
120 trad-core.c
121
122 Do-last:
123
124 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
125 echo Keeping v9 in aoutx.h
126 else
127 echo Sanitizing v9 in aoutx.h
128 rm -f new
129 while grep -s start-sanitize-v9 aoutx.h ; do
130 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
131 if [ -n "${safe}" ] ; then
132 mv aoutx.h .Recover
133 else
134 rm aoutx.h
135 fi
136 mv new aoutx.h
137 done
138 fi
139
140 echo Done in `pwd`.
141
142 # End of file.
This page took 0.031446 seconds and 3 git commands to generate.