Do-first:
-if ( echo $* | grep keep\-mpw > /dev/null ) ; then
- keep_these_too="mpw-make.in ChangeLog.mpw"
-else
- lose_these_too="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
Things-to-keep:
ChangeLog
+Makefile.am
Makefile.in
NEWS
README
-TODO
-alloca.c
+acconfig.h
+acinclude.m4
+aclocal.m4
+addr2line.1
+addr2line.c
ar.1
ar.c
arlex.l
binutils.texi
bucomm.c
bucomm.h
-c++filt.1
+budbg.h
coffdump.c
coffgrok.c
coffgrok.h
-config
+config.in
+configure
configure.bat
+configure.com
configure.in
+cxxfilt.man
+dlltool.c
+dlltool.h
+debug.c
+debug.h
+dep-in.sed
+defparse.y
+deflex.l
filemode.c
-gmalloc.c
+ieee.c
is-ranlib.c
is-strip.c
+mac-binutils.r
+makefile.vms
maybe-ranlib.c
maybe-strip.c
+mpw-config.in
+mpw-make.sed
nlmconv.1
nlmconv.c
nlmconv.h
objcopy.c
objdump.1
objdump.c
+prdbg.c
ranlib.1
ranlib.sh
+rclex.l
+rcparse.y
+resbin.c
+rescoff.c
+resrc.c
+rdcoff.c
+rddbg.c
sanity.sh
size.1
size.c
srconv.c
+stabs.c
+stamp-h.in
strings.1
strings.c
strip.1
sysroff.info
testsuite
version.c
+windres.h
+windres.c
+wrstabs.c
Things-to-lose:
Do-last:
-
-ppcfiles="ChangeLog nlmconv.c"
-if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping PowerPC NetWare stuff in $ppcfiles.
- fi
-else
- if [ -n "${verbose}" ]; then
- echo -n Removing PowerPC NetWare in `pwd`:
- fi
- for f in $ppcfiles ; do
- if [ -n "${verbose}" ] ; then
- echo -n " " $f
- fi
- sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
- if [ -n "${safe}" ] ; then
- mv $f .Recover
- fi
- mv new $f
- done
-fi