Since d10v is public now, remove all sanitization statements
[deliverable/binutils-gdb.git] / gas / .Sanitize
1 # .Sanitize for devo/gas.
2
3 # Each directory to survive its 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 directory.
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 CONTRIBUTORS
27 COPYING
28 ChangeLog
29 ChangeLog.1
30 Makefile.in
31 NEWS
32 README
33 README-vms
34 acconfig.h
35 aclocal.m4
36 app.c
37 as.c
38 as.h
39 atof-generic.c
40 bignum-copy.c
41 bignum.h
42 bit_fix.h
43 cond.c
44 conf-a-gas.com
45 conf.in
46 config
47 config-gas.com
48 configure
49 configure.bat
50 configure.in
51 debug.c
52 doc
53 ecoff.c
54 ecoff.h
55 emul-target.h
56 emul.h
57 expr.c
58 expr.h
59 flonum-copy.c
60 flonum-konst.c
61 flonum-mult.c
62 flonum.h
63 frags.c
64 frags.h
65 gasp.c
66 gdbinit.in
67 hash.c
68 hash.h
69 input-file.c
70 input-file.h
71 input-scrub.c
72 link.cmd
73 listing.c
74 listing.h
75 literal.c
76 itbl-lex.l
77 itbl-ops.c
78 itbl-ops.h
79 itbl-parse.y
80 mac-as.r
81 macro.c
82 macro.h
83 makefile.vms
84 messages.c
85 mpw-config.in
86 mpw-make.sed
87 obj.h
88 output-file.c
89 output-file.h
90 read.c
91 read.h
92 sb.c
93 sb.h
94 stabs.c
95 struc-symbol.h
96 subsegs.c
97 subsegs.h
98 symbols.c
99 symbols.h
100 tc.h
101 testsuite
102 vmsconf.sh
103 write.c
104 write.h
105
106 Things-to-lose:
107
108 Do-last:
109
110 arc_files="ChangeLog configure.in configure Makefile.in ChangeLog.1"
111 if ( echo $* | grep keep\-arc > /dev/null ) ; then
112 for i in $arc_files ; do
113 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
114 if [ -n "${verbose}" ] ; then
115 echo Keeping arc stuff in $i
116 fi
117 fi
118 done
119 else
120 for i in $arc_files ; do
121 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
122 if [ -n "${verbose}" ] ; then
123 echo Removing traces of \"arc\" from $i...
124 fi
125 cp $i new
126 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
127 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
128 if [ -n "${verbose}" ] ; then
129 echo Caching $i in .Recover...
130 fi
131 mv $i .Recover
132 fi
133 mv new $i
134 fi
135 done
136 fi
137
138 if ( echo $* | grep keep\-gm > /dev/null ) ; then
139 for i in * ; do
140 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
141 if [ -n "${verbose}" ] ; then
142 echo Keeping gm stuff in $i
143 fi
144 fi
145 done
146 else
147 for i in * ; do
148 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
149 if [ -n "${verbose}" ] ; then
150 echo Removing traces of \"gm\" from $i...
151 fi
152 cp $i new
153 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
154 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
155 if [ -n "${verbose}" ] ; then
156 echo Caching $i in .Recover...
157 fi
158 mv $i .Recover
159 fi
160 mv new $i
161 fi
162 done
163 fi
164
165
166 v850_files="ChangeLog configure.in configure Makefile.in write.c"
167 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
168 for i in $v850_files ; do
169 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
170 if [ -n "${verbose}" ] ; then
171 echo Keeping v850 stuff in $i
172 fi
173 fi
174 done
175 else
176 for i in $v850_files ; do
177 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
178 if [ -n "${verbose}" ] ; then
179 echo Removing traces of \"v850\" from $i...
180 fi
181 cp $i new
182 sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
183 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
184 if [ -n "${verbose}" ] ; then
185 echo Caching $i in .Recover...
186 fi
187 mv $i .Recover
188 fi
189 mv new $i
190 fi
191 done
192 fi
193
194 r5900_files="ChangeLog"
195 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
196 for i in $r5900_files ; do
197 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
198 if [ -n "${verbose}" ] ; then
199 echo Keeping r5900 stuff in $i
200 fi
201 fi
202 done
203 else
204 for i in $r5900_files ; do
205 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
206 if [ -n "${verbose}" ] ; then
207 echo Removing traces of \"r5900\" from $i...
208 fi
209 cp $i new
210 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
211 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
212 if [ -n "${verbose}" ] ; then
213 echo Caching $i in .Recover...
214 fi
215 mv $i .Recover
216 fi
217 mv new $i
218 fi
219 done
220 fi
221
222 tic80_files="ChangeLog configure.in configure"
223 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
224 for i in $tic80_files ; do
225 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
226 if [ -n "${verbose}" ] ; then
227 echo Keeping tic80 stuff in $i
228 fi
229 fi
230 done
231 else
232 for i in $tic80_files ; do
233 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
234 if [ -n "${verbose}" ] ; then
235 echo Removing traces of \"tic80\" from $i...
236 fi
237 cp $i new
238 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
239 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
240 if [ -n "${verbose}" ] ; then
241 echo Caching $i in .Recover...
242 fi
243 mv $i .Recover
244 fi
245 mv new $i
246 fi
247 done
248 fi
249
250 for i in * ; do
251 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
252 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
253 fi
254 done
255
256 #
257 # End of file.
This page took 0.034565 seconds and 4 git commands to generate.