1 # Sanitize.in for devo.
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
20 echo Sanitizing `pwd`...
22 # All files listed between the "Things-to-keep:" line and the
23 # "Files-to-sed:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
131 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
132 echo Keeping v9 stuff in tc-sparc.c.
134 echo Cleaning tc-sparc.c...
135 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
136 if [ -n "${safe}" ] ; then
137 cp tc-sparc.c .Recover
147 # Revision 1.24 1992/08/25 22:12:38 sac
148 # Support for the Z8k
150 # Revision 1.23 1992/07/23 18:23:44 gumby
153 # Revision 1.22 1992/05/07 00:24:39 sac
154 # Keep the 29k config file
156 # Revision 1.21 1992/02/27 18:52:18 sac
159 # Revision 1.20 1992/02/26 08:54:09 tiemann
160 # Keep a.out.gnu.h, not a.out.h (which no longer exists).
162 # Revision 1.19 1992/02/22 00:24:13 sac
163 # How to compile gas on a PC
165 # Revision 1.18 1992/02/18 10:18:32 rich
168 # Revision 1.17 1992/02/18 10:13:57 rich
171 # Revision 1.16 1992/02/17 16:02:58 rich
172 # record that files were removed
174 # Revision 1.15 1992/02/17 15:53:46 rich
175 # fighting bitrot in a major way
177 # Revision 1.14 1992/02/13 10:13:24 rich
178 # clean up Sanitize for gas
180 # Revision 1.13 1992/02/11 00:51:52 sac
181 # New files for MRI syntax assembler
183 # Revision 1.12 1991/12/12 03:34:31 sac
184 # renamed obj-coff-bfd to obj-coffbfd
186 # Revision 1.11 1991/11/27 22:28:57 sac
187 # Added obj-coff-bfd* and mt-h8300hds
189 # Revision 1.10 1991/11/26 02:16:55 sac
191 # bfd support gets deeper into gas
193 # fixed numerous bugs in instruction encoding
195 # Revision 1.9 1991/11/11 23:36:39 sac
198 # Revision 1.8 1991/11/06 11:53:16 sac
199 # Wouldn't it be nice if Sanitize ignored spaces ?
201 # Revision 1.7 1991/11/06 09:14:33 sac
202 # Uniq contents, since configure gets confused if the same file is in more than once.
204 # Revision 1.6 1991/11/05 21:21:12 sac
205 # Added a load of mt/mh files
207 # Revision 1.5 1991/10/22 03:26:06 steve
210 # Revision 1.4 1991/09/04 01:55:53 rich
211 # test & recover a better way.
213 # Revision 1.3 1991/09/02 21:26:15 rich
214 # "recover" tc-sparc.c
216 # Revision 1.2 1991/09/02 01:03:38 rich
217 # Correct a few things.
219 # Revision 1.1 1991/05/23 17:09:03 rich