-# .Sanitize for devo/ld.
+# .Sanitize for devo/ld
# Each directory to survive its way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
Do-first:
+
# All files listed between the "Things-to-keep:" line and the
-# "Files-to-sed:" line will be kept. All other files will be removed.
+# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# called. Directories not listed will be removed in their entirety
# with rm -rf.
README
TODO
acconfig.h
-aclocal.m4
acinclude.m4
+aclocal.m4
config.in
configure
configure.bat
dep-in.sed
emulparams
emultempl
+gen-doc.texi
genscripts.sh
h8-doc.texi
ld.1
-gen-doc.texi
ld.h
ld.texinfo
ldcref.c
mac-ld.r
mpw-config.in
mpw-elfmips.c
-mpw-idtmips.c
mpw-eppcmac.c
mpw-esh.c
+mpw-idtmips.c
mpw-make.sed
mri.c
mri.h
+po
scripttempl
stamp-h.in
sysdep.h
Things-to-lose:
+
+
+# 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.
+
Do-last:
v850_files="ChangeLog configure.tgt Makefile.am Makefile.in"
-
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
fi
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
fi
r5900_files="ChangeLog configure.tgt Makefile.in Makefile.am"
-
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
fi
vr4320_files="ChangeLog configure.tgt"
-
if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
for i in $vr4320_files ; do
if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
fi
tic80_files="ChangeLog configure.tgt Makefile.am Makefile.in"
-
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in $tic80_files ; do
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
fi
d30v_files="ChangeLog configure.tgt Makefile.am Makefile.in"
-
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
for i in $d30v_files ; do
if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
fi
sky_files="ChangeLog configure.tgt"
-
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
fi
done
-#
-# End of file.
+# eof