list new files, new stuff to sanitize
[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
26 COPYING
27 PORTING
28 doc
29 ChangeLog
30 Makefile.in
31 README.hppaelf
32 TODO
33 VERSION
34 aix386-core.c
35 aout32.c
36 aout64.c
37 aoutf1.h
38 aoutx.h
39 aout-adobe.c
40 aout-encap.c
41 aout-target.h
42 archive.c
43 archures.c
44 bfd-in.h
45 bfd-in2.h
46 bfd.c
47 bout.c
48 cache.c
49 ctor.c
50 coff-alpha.c
51 coff-a29k.c
52 coff-h8300.c
53 coff-h8500.c
54 coff-i386.c
55 coff-i960.c
56 coff-m68k.c
57 coff-m88k.c
58 coff-mips.c
59 coff-msym.c
60 coff-rs6000.c
61 coff-sh.c
62 coff-we32k.c
63 coff-z8k.c
64 coffcode.h
65 coffgen.c
66 coffswap.h
67 config
68 configure.bat
69 configure.in
70 configure.host
71 core.c
72 demo64.c
73 elf.c
74 elf32-generic.c
75 elf32-hppa.c
76 elf32-hppa.h
77 elf32-i386.c
78 elf32-i860.c
79 elf32-m68k.c
80 elf32-m88k.c
81 elf32-mips.c
82 elf32-sparc.c
83 elf32-target.h
84 elf32.c
85 elf64-generic.c
86 elf64-sparc.c
87 elf64-target.h
88 elf64.c
89 elfcode.h
90 filemode.c
91 format.c
92 gen-aout.c
93 host-aout.c
94 hosts
95 hp300hpux.c
96 hppa.c
97 hppa_stubs.h
98 i386aout.c
99 i386bsd.c
100 i386linux.c
101 i386lynx.c
102 ieee.c
103 libaout.h
104 libbfd-in.h
105 libelf.h
106 cpu-alpha.c
107 cpu-a29k.c
108 cpu-i386.c
109 cpu-m68k.c
110 cpu-mips.c
111 cpu-vax.c
112 cpu-h8300.c
113 cpu-h8500.c
114 cpu-hppa.c
115 cpu-i960.c
116 cpu-m88k.c
117 cpu-rs6000.c
118 cpu-sh.c
119 cpu-we32k.c
120 cpu-z8k.c
121 hp300bsd.c
122 init.c
123 cpu-sparc.c
124 libbfd.c
125 libbfd.h
126 libcoff-in.h
127 libcoff.h
128 libecoff.h
129 libhppa.h
130 libieee.h
131 liboasys.h
132 mipsbsd.c
133 newsos3.c
134 oasys.c
135 opncls.c
136 reloc.c
137 reloc16.c
138 rs6000-core.c
139 sco-core.c
140 seclet.c
141 seclet.h
142 section.c
143 srec.c
144 stab-syms.c
145 sunos.c
146 syms.c
147 targets.c
148 tekhex.c
149 trad-core.c
150
151 Things-to-lose:
152
153 Do-last:
154
155 v9files="configure.in elfcode.h"
156 if [ -n "${verbose}" ] ; then
157 say=echo
158 else
159 say=true
160 fi
161 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
162 if [ -n "${verbose}" ] ; then
163 echo Keeping v9 stuff in $v9files.
164 fi
165 else
166 if [ -n "${verbose}" ]; then
167 echo -n Cleaning v9 from
168 fi
169 for f in $v9files ; do
170 if [ -n "${verbose}" ] ; then
171 echo -n " " $f
172 fi
173 grep -v v9 < $f > new
174 if [ -n "${safe}" ] ; then
175 cp $f .Recover
176 fi
177 mv new $f
178 done
179 if [ -n "${safe}" ] ; then
180 mv elf64-sparc.c .Recover
181 else
182 rm elf64-sparc.c
183 fi
184 if [ -n "${verbose}" ] ; then
185 echo " ..." deleting elf64-sparc.c.
186 fi
187 fi
188
189 # End of file.
This page took 0.033193 seconds and 4 git commands to generate.