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
21 # All files listed between the "Things-to-keep:" line and the
22 # "Files-to-sed:" line will be kept. All other files will be removed.
23 # Directories listed in this section will have their own Sanitize
24 # called. Directories not listed will be removed in their entirety
99 if ( echo $* | grep keep-v9 > /dev/null ) ; then
100 if [ -n "${verbose}" ] ; then
101 echo Keeping `pwd`/ChangeLog.v9.
102 echo Keeping v9 code in `pwd`/configure.in.
105 if [ -n "${verbose}" ] ; then
106 echo Removing `pwd`/ChangeLog.v9
108 if [ -n "${safe}" ] ; then
109 mv ChangeLog.v9 .Recover
113 if [ -n "${verbose}" ] ; then
114 echo Cleaning v9 code from `pwd`/configure.in.
116 grep -v v9 < configure.in > new
117 if [ -n "${safe}" ]; then
118 mv configure.in .Recover
120 mv -f new configure.in
127 # Revision 1.22 1993/11/22 06:04:32 law
128 # Add stabs.c to things-to-keep.
130 # Revision 1.21 1993/11/17 23:23:36 ian
131 # New files for ECOFF debugging split out of config/obj-ecoff.c.
133 # Revision 1.20 1993/06/04 23:06:28 raeburn
134 # clean v9 stuff out of configure.in
136 # Revision 1.19 1993/05/27 06:21:49 rich
137 # added things-to-lose sections
139 # Revision 1.18 1993/05/17 19:35:50 raeburn
140 # don't keep testscripts subdir
142 # Revision 1.17 1993/04/22 06:39:01 raeburn
145 # Revision 1.16 1993/03/29 13:26:44 raeburn
146 # First crack at a test suite.
148 # Revision 1.15 1993/02/13 10:12:16 zoo
149 # removing excess verbosity
151 # Revision 1.14 1993/01/08 14:40:59 raeburn
152 # keep config-gas.com.
153 # if purging v9, discard ChangeLog.v9, keep otherwise.
155 # Revision 1.13 1992/12/08 08:05:32 raeburn
156 # updated for added/deleted files
158 # Revision 1.12 1992/07/28 18:58:12 gumby
159 # Don't save obsolete/
161 # Revision 1.11 1992/03/13 16:04:15 sac
162 # Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
164 # * flonum-const.c: renamed flonum-konst.c to stop dos name
167 # Revision 1.10 1992/02/22 20:44:46 sac
168 # * app.c: MRI compatibility - allow single quote to start a string.
169 # * as.c: fix typo recently introduced.
170 # * as.h : Don't include aout/reloc.h - it's not right for COFF!
171 # * expr.c: Much rewriting, to accomodate MRI syntax for
172 # expressions. Also easier to read now.
173 # * listing.c: Put back defuns
174 # * read.c: modified to accept MRI syntax, put back listing pseudo
175 # ops so that an assembler built with NO_LISTING ignores list ops
177 # * write.c, write.h: fixs - only keep a reloc type in a fix if the target
178 # machine is a SPARC or a 29K.
179 # * config/obj-aout.c: added s_sect pseudo op
180 # * config/obj-coffbfd.c: lints, set the filehdr flags right and
181 # fill in the timestamp.
182 # * config/obj-coffbfd.h: Since we don't include aout/reloc.h
183 # anymore, define all the relocs which the tc-<x> bit will use so we
184 # can translate from them to the coff types.
185 # * config/tc-a29k.c: reloc_type isn't ane enum any more
186 # * config/tc-m68k.c: Added NO_RELOC definition.
188 # Now compiles for sparc aout, 68k aout (MRI and MIT syntax),
191 # So far works as replacement for sparc and 68k /bin/as.
193 # Revision 1.9 1992/02/17 15:52:52 rich
194 # fighting bitrot in a major way
196 # Revision 1.8 1992/02/14 00:21:34 pesch
197 # It's OK to keep the doc subdirectory, really.
199 # Revision 1.7 1992/02/13 10:13:19 rich
200 # clean up Sanitize for gas
202 # Revision 1.6 1992/01/17 20:54:32 rich
205 # Revision 1.5 1991/12/12 03:28:12 sac
206 # Added makefile.dos configure.dos
208 # Revision 1.4 1991/12/09 11:58:44 tiemann
211 # Revision 1.3 1991/10/10 11:58:04 rich
214 # Revision 1.2 1991/09/02 01:05:04 rich
215 # Correcting some things.
217 # Revision 1.1 1991/05/23 17:18:12 rich