* config/tc-h8300.c (parse_reg): Tweak error messages.
[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 NOTES
33 NOTES.config
34 README
35 README-quirks
36 README-vms
37 README.coff
38 README.rich
39 acconfig.h
40 aclocal.m4
41 app.c
42 as.c
43 as.h
44 atof-generic.c
45 bignum-copy.c
46 bignum.h
47 bit_fix.h
48 cond.c
49 conf.in
50 config
51 config-gas.com
52 configure
53 configure.bat
54 configure.in
55 debug.c
56 doc
57 ecoff.c
58 ecoff.h
59 emul-target.h
60 emul.h
61 expr.c
62 expr.h
63 flonum-copy.c
64 flonum-konst.c
65 flonum-mult.c
66 flonum.h
67 frags.c
68 frags.h
69 gasp.c
70 gdbinit.in
71 hash.c
72 hash.h
73 input-file.c
74 input-file.h
75 input-scrub.c
76 link.cmd
77 listing.c
78 listing.h
79 literal.c
80 mac-as.r
81 macro.c
82 macro.h
83 messages.c
84 mpw-config.in
85 mpw-make.sed
86 obj.h
87 output-file.c
88 output-file.h
89 read.c
90 read.h
91 sb.c
92 sb.h
93 stabs.c
94 struc-symbol.h
95 subsegs.c
96 subsegs.h
97 symbols.c
98 symbols.h
99 tc.h
100 testsuite
101 vmsconf.sh
102 write.c
103 write.h
104 xmalloc.c
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 h8s_files="ChangeLog"
167 if ( echo $* | grep keep\-h8s > /dev/null ) ; then
168 for i in $h8s_files ; do
169 if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
170 if [ -n "${verbose}" ] ; then
171 echo Keeping h8s stuff in $i
172 fi
173 fi
174 done
175 else
176 for i in $h8s_files ; do
177 if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then
178 if [ -n "${verbose}" ] ; then
179 echo Removing traces of \"h8s\" from $i...
180 fi
181 cp $i new
182 sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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 for i in * ; do
195 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
196 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
197 fi
198 done
199
200 #
201 # End of file.
This page took 0.061115 seconds and 5 git commands to generate.