fi
fi
-# WinGDB files are not really ready to be part of FSF releases, but
-# keep them for progressives and such.
-
-mswin_files="mswin"
-
-if ( echo $* | grep lose\-mswin > /dev/null ) ; then
- lose_these_too="${mswin_files} ${lose_these_too}"
- if [ -n "${verbose}" ] ; then
- echo Deleting ${mswin_files}
- fi
-else
- keep_these_too="${mswin_files} ${keep_these_too}"
- if [ -n "${verbose}" ] ; then
- echo Keeping ${mswin_files}
- fi
-fi
-
tic80_files="tic80-tdep.c"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
fi
fi
+carp_files="carp-tdep.c"
+
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
+ keep_these_too="${carp_files} ${keep_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Keeping ${carp_files}
+ fi
+else
+ lose_these_too="${carp_files} ${lose_these_too}"
+ if [ -n "${verbose}" ] ; then
+ echo Deleting ${carp_files}
+ fi
+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
Things-to-lose:
+GDB-HACK-RULES
HOW_TO_RELEASE
gdbcfgxref
done
fi
-if ( echo $* | grep keep\-mswin > /dev/null ) ; then
+if ( echo $* | grep keep\-java > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping mswin stuff in $i
+ echo Keeping java stuff in $i
fi
fi
done
else
for i in * ; do
- if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"mswin\" from $i...
+ echo Removing traces of \"java\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/d' < $i > new
+ sed '/start\-sanitize\-java/,/end-\sanitize\-java/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
done
fi
-if ( echo $* | grep keep\-java > /dev/null ) ; then
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping java stuff in $i
+ echo Keeping carp stuff in $i
fi
fi
done
else
for i in * ; do
- if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"java\" from $i...
+ echo Removing traces of \"carp\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-java/,/end-\sanitize\-java/d' < $i > new
+ sed '/start\-sanitize\-carp/,/end-\sanitize\-carp/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...