-# Sanitize.in for devo.
-# $Id$
-#
+# .Sanitize for devo/gas.
-# Each directory to survive it's way into a release will need a file
+# Each directory to survive its way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
# and must exist in the order specified by this file. Each directory
# in the tree will be processed, top down, in the following order.
# The lines between the "Do-first:" line and the "Things-to-keep:"
# line are executed as a /bin/sh shell script before anything else is
-# done in this
+# done in this directory.
Do-first:
-echo Sanitizing `pwd`...
+if ( echo $* | grep keep\-mpw > /dev/null ) ; then
+ keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
+else
+ lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
+fi
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
Things-to-keep:
-.gdbinit
+CONTRIBUTORS
COPYING
ChangeLog
Makefile.in
+NEWS
NOTES
NOTES.config
README
README-quirks
-README-vms-dbg
+README-vms
README.coff
README.rich
-a.out.gnu.h
+acconfig.h
+aclocal.m4
app.c
as.c
as.h
atof-generic.c
bignum-copy.c
bignum.h
+bit_fix.h
cond.c
+conf.in
config
-configdos.bat
+config-gas.com
+configure
+configure.bat
configure.in
debug.c
+doc
+ecoff.c
+ecoff.h
expr.c
expr.h
-flonum-const.c
flonum-copy.c
+flonum-konst.c
flonum-mult.c
flonum.h
frags.c
frags.h
-gas-format.el
+gasp.c
+gdbinit.in
hash.c
hash.h
hex-value.c
link.cmd
listing.c
listing.h
-make-gas.com
-makefile.dos
+literal.c
messages.c
obj.h
-objdump.c
-obsolete
output-file.c
output-file.h
read.c
read.h
-strstr.c
+stabs.c
struc-symbol.h
subsegs.c
subsegs.h
symbols.c
symbols.h
tc.h
-testscripts
-ver960.c
-version.c
+testsuite
+vmsconf.sh
write.c
write.h
xmalloc.c
-xrealloc.c
+
+Things-to-lose:
Do-last:
-echo Done in `pwd`.
+i960xl_files=ChangeLog
+if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping i960xl stuff in $i960xl_files.
+ fi
+else
+ if [ -n "${verbose}" ]; then
+ echo -n Cleaning i960xl in `pwd`:
+ fi
+ for f in $i960xl_files ; do
+ if [ -n "${verbose}" ] ; then
+ echo -n " " $f
+ fi
+ sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
+ if [ -n "${safe}" ] ; then
+ mv $f .Recover
+ fi
+ mv new $f
+ done
+fi
#
-#
-# $Log$
-# Revision 1.7 1992/02/13 10:13:19 rich
-# clean up Sanitize for gas
-#
-# Revision 1.6 1992/01/17 20:54:32 rich
-# keep listing*
-#
-# Revision 1.5 1991/12/12 03:28:12 sac
-# Added makefile.dos configure.dos
-#
-# Revision 1.4 1991/12/09 11:58:44 tiemann
-# Keep a.out.gnu.h.
-#
-# Revision 1.3 1991/10/10 11:58:04 rich
-# updating
-#
-# Revision 1.2 1991/09/02 01:05:04 rich
-# Correcting some things.
-#
-# Revision 1.1 1991/05/23 17:18:12 rich
-# Initial revision
-#
-#
-#
-
# End of file.