gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff
guile gzip
include inet install-sh ispell
- ld less libg++ libgcc libgloss libiberty libgui libide libio
+ ld less libg++ libgcc libgloss libiberty libio
librx libstdc++
m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
pagas patch perl prms
lose_these_too="${lose_these_too} ${cygnus_files}"
fi
-gdbtk_files="tcl tk itcl tix"
+gdbtk_files="tcl tk itcl tix libgui"
if ( echo $* | grep lose\-gdbtk > /dev/null) ; then
lose_these_too="${lose_these_too} ${gdbtk_files}"
keep_these_too="${keep_these_too} ${inet_files}"
fi
-ide_files="vmake"
+ide_files="libide vmake jstools"
if (echo $* | grep keep\-ide > /dev/null); then
keep_these_too="${keep_these_too} ${ide_files}"
Things-to-lose:
+# Not sure we want to include mkdep in releases yet.
+mkdep
+
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
# done.
done
fi
+sky_files="ChangeLog config.sub configure.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 * ; 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
+
+vr4111_files="ChangeLog config.sub"
+
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+ for i in $vr4111_files ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4111 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4111\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/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
+
if ( echo $* | grep keep\-ide > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then
fi
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
- echo Catering to RMS by removing traces of \"gdbtk\"...
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"gdbtk\" from Makefile.in...
+ echo Catering to RMS by removing traces of \"gdbtk\"...
fi
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"gdbtk\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/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
cp Makefile.in new
sed -e '/GDBTK_SUPPORT_DIRS=/d' -e 's/ $(GDBTK_SUPPORT_DIRS)//' < Makefile.in > new
if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
mv Makefile.in .Recover
fi
mv new Makefile.in
+else
+ if [ -n "${verbose}" ] ; then
+ echo Leaving \"gdbtk\" in the sources...
+ fi
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping \"gdbtk\" stuff in $i, but editing out sanitize lines...
+ fi
+ cp $i new
+ sed -e '/start\-sanitize\-gdbtk/d' -e '/end\-sanitize\-gdbtk/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
+
+if ( echo $* | grep lose\-mswin > /dev/null ) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"mswin\"...
+ fi
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"mswin\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/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
+else
+ if [ -n "${verbose}" ] ; then
+ echo Leaving \"mswin\" in the sources...
+ fi
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping \"mswin\" stuff in $i, but editing out sanitize lines...
+ fi
+ cp $i new
+ sed -e '/start\-sanitize\-mswin/d' -e '/end\-sanitize\-mswin/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
vr5400_files="ChangeLog config.sub"
done
fi
+m32rx_files="ChangeLog config-ml.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 * ; 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
+
# Do this check LAST!
for i in * ; do
if test ! -d $i && (grep sanitize $i > /dev/null) ; then