v850_files="ChangeLog configure.tgt Makefile.am Makefile.in"
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
+ echo Keeping v850e stuff in $i
fi
fi
done
else
for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
+ echo Removing traces of \"v850e\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/d' < $i > new
+ sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
fi
done
fi
-if ( echo $* | grep keep\-v850e > /dev/null ) ; then
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+
+tx49_files="ChangeLog configure.tgt"
+
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+ for i in $tx49_files ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping v850e stuff in $i
+ echo Keeping tx49 stuff in $i
fi
fi
done
else
- if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- true
- else
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
+ for i in $tx49_files ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850e\" from $i...
+ echo Removing traces of \"tx49\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new
+ sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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
- fi
fi
r5900_files="ChangeLog configure.tgt"
done
fi
+sky_files="ChangeLog configure.tgt Makefile.am Makefile.in"
+
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sky stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sky\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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
+
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2