done
fi
-m32rx_files="configure configure.in ChangeLog"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+cygnus_files="configure configure.in ChangeLog"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
+ echo Keeping cygnus stuff in $i
fi
fi
done
else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
Do-first:
-#m32rx_files="..."
-#if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
-# keep_these_too="${m32rx_files} ${keep_these_too}"
-#else
-# lose_these_too="${m32rx_files} ${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
Do-last:
-m32rx_files="ChangeLog Makefile.in"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
- fi
- fi
- done
-else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
- if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
- if [ -n "${verbose}" ] ; then
- echo Caching $i in .Recover...
- fi
- mv $i .Recover
- fi
- mv new $i
- fi
- done
-fi
-
# End of file.
Do-first:
-m32rx_files="
+cygnus_files="
bcl24.cgs
bcl8.cgs
bncl24.cgs
sc.cgs
snc.cgs"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- keep_these_too="${m32rx_files} ${keep_these_too}"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ keep_these_too="${cygnus_files} ${keep_these_too}"
else
- lose_these_too="${m32rx_files} ${lose_these_too}"
+ lose_these_too="${cygnus_files} ${lose_these_too}"
fi
Things-to-keep:
Do-last:
-m32rx_files="allinsn.exp misc.exp testutils.inc"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+cygnus_files="allinsn.exp misc.exp testutils.inc"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
+ echo Keeping cygnus stuff in $i
fi
fi
done
else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
mv new $i
fi
done
- # Remove m32rx from `mach'.
+ # Remove cygnus from `mach'.
for i in *.cgs ; do
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed -e 's/m32rx//' < $i > new
+ sed -e 's/cygnus//' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...