-# .Sanitize for devo/gas
+# .Sanitize for devo/gas.
# Each directory to survive its way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
# 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:
lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
fi
-if ( echo $* | grep keep\-gm > /dev/null ) ; then
- keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
-else
- lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
-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.
# Directories listed in this section will have their own Sanitize
CONTRIBUTORS
COPYING
ChangeLog
-ChangeLog.v9
Makefile.in
NEWS
NOTES
Do-last:
-if ( echo $* | grep keep-v9 > /dev/null ) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping `pwd`/ChangeLog.v9.
- echo Keeping v9 code in `pwd`/configure.in.
- fi
-else
- if [ -n "${verbose}" ] ; then
- echo Removing `pwd`/ChangeLog.v9
- fi
- if [ -n "${safe}" ] ; then
- mv ChangeLog.v9 .Recover
- else
- rm ChangeLog.v9
- fi
- if [ -n "${verbose}" ] ; then
- echo Cleaning v9 code from `pwd`/configure.in.
- fi
- grep -v v9 < configure.in > new
- if [ -n "${safe}" ]; then
- mv configure.in .Recover
- fi
- mv -f new configure.in
-fi
-
-
#
# End of file.