* config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
[deliverable/binutils-gdb.git] / include / .Sanitize
1 # .Sanitize for devo/include.
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
19 # All files listed between the "Things-to-keep:" line and the
20 # "Files-to-sed:" line will be kept. All other files will be removed.
21 # Directories listed in this section will have their own Sanitize
22 # called. Directories not listed will be removed in their entirety
23 # with rm -rf.
24
25 Things-to-keep:
26
27 COPYING
28 ChangeLog
29 ansidecl.h
30 aout
31 bfdlink.h
32 bout.h
33 callback.h
34 coff
35 demangle.h
36 dis-asm.h
37 elf
38 floatformat.h
39 fnmatch.h
40 fopen-bin.h
41 fopen-same.h
42 fopen-vms.h
43 gdbm.h
44 getopt.h
45 hp-symtab.h
46 ieee.h
47 libiberty.h
48 mpw
49 nlm
50 oasys.h
51 objalloc.h
52 obstack.h
53 os9k.h
54 opcode
55 progress.h
56 remote-sim.h
57 wait.h
58
59 Things-to-lose:
60
61
62 Do-last:
63
64 arc_files="ChangeLog dis-asm.h"
65 if ( echo $* | grep keep\-arc > /dev/null ) ; then
66 for i in $arc_files ; do
67 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
68 if [ -n "${verbose}" ] ; then
69 echo Keeping arc stuff in $i
70 fi
71 fi
72 done
73 else
74 for i in $arc_files ; do
75 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
76 if [ -n "${verbose}" ] ; then
77 echo Removing traces of \"arc\" from $i...
78 fi
79 cp $i new
80 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
81 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
82 if [ -n "${verbose}" ] ; then
83 echo Caching $i in .Recover...
84 fi
85 mv $i .Recover
86 fi
87 mv new $i
88 fi
89 done
90 fi
91
92
93 m32r_files="ChangeLog dis-asm.h"
94 if ( echo $* | grep keep\-m32r > /dev/null ) ; then
95 for i in $m32r_files ; do
96 if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
97 if [ -n "${verbose}" ] ; then
98 echo Keeping m32r stuff in $i
99 fi
100 fi
101 done
102 else
103 for i in $m32r_files ; do
104 if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
105 if [ -n "${verbose}" ] ; then
106 echo Removing traces of \"m32r\" from $i...
107 fi
108 cp $i new
109 sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/d' < $i > new
110 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
111 if [ -n "${verbose}" ] ; then
112 echo Caching $i in .Recover...
113 fi
114 mv $i .Recover
115 fi
116 mv new $i
117 fi
118 done
119 fi
120
121 v850_files="ChangeLog dis-asm.h"
122 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
123 for i in $v850_files ; do
124 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
125 if [ -n "${verbose}" ] ; then
126 echo Keeping v850 stuff in $i
127 fi
128 fi
129 done
130 else
131 for i in $v850_files ; do
132 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
133 if [ -n "${verbose}" ] ; then
134 echo Removing traces of \"v850\" from $i...
135 fi
136 cp $i new
137 sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
138 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
139 if [ -n "${verbose}" ] ; then
140 echo Caching $i in .Recover...
141 fi
142 mv $i .Recover
143 fi
144 mv new $i
145 fi
146 done
147 fi
148
149 tic80_files="ChangeLog dis-asm.h"
150 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
151 for i in $tic80_files ; do
152 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
153 if [ -n "${verbose}" ] ; then
154 echo Keeping tic80 stuff in $i
155 fi
156 fi
157 done
158 else
159 for i in $tic80_files ; do
160 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
161 if [ -n "${verbose}" ] ; then
162 echo Removing traces of \"tic80\" from $i...
163 fi
164 cp $i new
165 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
166 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
167 if [ -n "${verbose}" ] ; then
168 echo Caching $i in .Recover...
169 fi
170 mv $i .Recover
171 fi
172 mv new $i
173 fi
174 done
175 fi
176
177 d30v_files="ChangeLog dis-asm.h"
178 if ( echo $* | grep keep\-d30v > /dev/null ) ; then
179 for i in $d30v_files ; do
180 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
181 if [ -n "${verbose}" ] ; then
182 echo Keeping d30v stuff in $i
183 fi
184 fi
185 done
186 else
187 for i in $d30v_files ; do
188 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
189 if [ -n "${verbose}" ] ; then
190 echo Removing traces of \"d30v\" from $i...
191 fi
192 cp $i new
193 sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
194 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
195 if [ -n "${verbose}" ] ; then
196 echo Caching $i in .Recover...
197 fi
198 mv $i .Recover
199 fi
200 mv new $i
201 fi
202 done
203 fi
204
205 for i in * ; do
206 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
207 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
208 fi
209 done
210
211 # End of file.
This page took 0.034316 seconds and 4 git commands to generate.