old-cross-binutils/config/.Sanitize

190 lines
4.1 KiB
Text
Raw Normal View History

1998-04-22 16:46:19 +00:00
# .Sanitize for devo/config
1994-01-22 21:22:08 +00:00
# Each directory to survive its way into a release will need a file
1991-05-23 17:10:40 +00:00
# like this one called "./.Sanitize". All keyword lines must exist,
# and must exist in the order specified by this file. Each directory
# in the tree will be processed, top down, in the following order.
# Hash started lines like this one are comments and will be deleted
# before anything else is done. Blank lines will also be squashed
# out.
# The lines between the "Do-first:" line and the "Things-to-keep:"
# line are executed as a /bin/sh shell script before anything else is
1994-01-22 21:22:08 +00:00
# done in this directory.
1991-05-23 17:10:40 +00:00
Do-first:
1997-02-11 13:26:34 +00:00
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
keep_these_too="${keep_these_too} mt-r5900"
else
lose_these_too="${lose_these_too} mt-r5900"
fi
1998-01-31 06:19:34 +00:00
if ( echo $* | grep lose\-mswin > /dev/null ) ; then
1998-01-27 05:19:50 +00:00
lose_these_too="${lose_these_too} mh-windows"
1998-01-31 06:19:34 +00:00
else
keep_these_too="${keep_these_too} mh-windows"
1998-01-27 05:19:50 +00:00
fi
1998-07-24 15:48:47 +00:00
if ( echo $* | grep keep\-sky > /dev/null ) ; then
1998-12-15 01:10:10 +00:00
keep_these_too="${keep_these_too} mt-sky mt-skyb"
1998-07-24 15:48:47 +00:00
else
1998-12-15 01:10:10 +00:00
lose_these_too="${lose_these_too} mt-sky mt-skyb"
1998-07-24 15:48:47 +00:00
fi
1991-05-23 17:10:40 +00:00
# All files listed between the "Things-to-keep:" line and the
1998-04-22 16:46:19 +00:00
# "Do-last:" line will be kept. All other files will be removed.
1991-05-23 17:10:40 +00:00
# Directories listed in this section will have their own Sanitize
# called. Directories not listed will be removed in their entirety
# with rm -rf.
Things-to-keep:
1992-04-08 00:23:29 +00:00
ChangeLog
1992-05-26 23:57:55 +00:00
mh-a68bsd
1993-03-09 02:35:46 +00:00
mh-aix386
1998-10-09 21:10:04 +00:00
mh-aix43
mh-apollo68
mh-cxux
mh-cygwin
mh-decstation
mh-delta88
mh-dgux
1996-10-09 05:51:52 +00:00
mh-dgux386
1998-01-22 17:38:05 +00:00
mh-elfalphapic
mh-go32
1993-08-05 22:46:44 +00:00
mh-hp300
1992-07-22 02:41:29 +00:00
mh-hpux
mh-hpux8
mh-irix4
1993-12-02 19:35:47 +00:00
mh-irix5
1996-07-25 07:35:23 +00:00
mh-irix6
1993-07-20 17:34:43 +00:00
mh-lynxos
1994-05-07 04:58:52 +00:00
mh-lynxrs6k
mh-m68kpic
mh-mingw32
1992-04-11 06:10:56 +00:00
mh-ncr3000
mh-ncrsvr43
1996-03-15 00:29:21 +00:00
mh-necv4
1995-03-31 19:42:28 +00:00
mh-papic
mh-ppcpic
1993-07-08 04:00:47 +00:00
mh-riscos
1991-11-21 05:35:10 +00:00
mh-sco
1992-06-17 01:37:46 +00:00
mh-solaris
1995-03-31 19:42:28 +00:00
mh-sparcpic
1993-03-31 02:54:10 +00:00
mh-sun3
mh-sysv
1991-12-20 22:47:44 +00:00
mh-sysv4
mh-sysv5
mh-vaxult2
1995-03-31 19:42:28 +00:00
mh-x86pic
1996-07-12 19:05:17 +00:00
mpw
1995-04-10 20:26:39 +00:00
mpw-mh-mpw
1998-01-22 17:38:05 +00:00
mt-elfalphapic
1997-09-29 16:14:30 +00:00
mt-linux
mt-m68kpic
1995-03-31 19:42:28 +00:00
mt-netware
1998-04-22 16:46:19 +00:00
mt-ospace
mt-papic
mt-ppcpic
mt-sparcpic
1995-03-31 19:42:28 +00:00
mt-v810
mt-x86pic
1991-05-23 17:10:40 +00:00
1993-05-27 06:44:29 +00:00
Things-to-lose:
1998-05-30 19:36:31 +00:00
acinclude.m4
1998-04-22 16:46:19 +00:00
# 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.
1992-07-22 03:04:11 +00:00
Do-last:
1991-05-23 17:10:40 +00:00
1997-02-27 18:59:07 +00:00
r5900_files="ChangeLog"
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
if [ -n "${verbose}" ] ; then
echo Keeping r5900 stuff in $i
fi
fi
done
else
for i in $r5900_files ; do
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"r5900\" from $i...
fi
cp $i new
sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/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
1998-07-24 15:48:47 +00:00
sky_files="ChangeLog"
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
cygnus_files="mh-go32"
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
for i in $cygnus_files ; do
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping cygnus stuff in $i
fi
fi
done
else
for i in $cygnus_files ; do
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/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
1997-02-27 18:59:07 +00:00
1998-04-22 16:46:19 +00:00
# eof