1993-02-13 09:10:57 +00:00
|
|
|
# .Sanitize for devo/ld/config
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1993-02-13 09:10:57 +00:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1991-05-23 21:49:14 +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
|
1993-02-13 09:10:57 +00:00
|
|
|
# done in this directory.
|
1991-05-23 21:49:14 +00:00
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
1993-04-27 01:37:02 +00:00
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
1993-02-13 09:10:57 +00:00
|
|
|
# "Do-last:" line will be kept. All other files will be removed.
|
1991-05-23 21:49:14 +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-07-23 19:01:34 +00:00
|
|
|
|
1993-10-19 19:52:33 +00:00
|
|
|
alpha.mt
|
1993-06-30 20:56:07 +00:00
|
|
|
alphaosf.mh
|
1992-07-23 19:01:34 +00:00
|
|
|
coff-a29k.mt
|
|
|
|
coff-h8300.mt
|
1994-02-24 17:15:46 +00:00
|
|
|
coff-h8300h.mt
|
1993-04-09 17:46:13 +00:00
|
|
|
coff-h8500.mt
|
1993-04-27 01:37:02 +00:00
|
|
|
coff-sh.mt
|
1994-02-24 16:49:21 +00:00
|
|
|
coff-sparc.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
delta88.mh
|
|
|
|
dgux.mh
|
|
|
|
ebmon29k.mt
|
1992-05-26 22:28:07 +00:00
|
|
|
go32.mt
|
1993-02-13 09:10:57 +00:00
|
|
|
hp300.mh
|
1992-07-23 19:01:34 +00:00
|
|
|
hp300bsd.mt
|
1993-05-06 02:04:18 +00:00
|
|
|
hp300hpux.mt
|
1994-02-08 00:40:55 +00:00
|
|
|
hppaelf.mh
|
|
|
|
hppaelf.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
i386-aout.mt
|
1993-02-28 14:46:25 +00:00
|
|
|
i386-bsd.mt
|
1992-09-11 17:47:01 +00:00
|
|
|
i386-coff.mt
|
1993-09-17 22:17:52 +00:00
|
|
|
i386-elf.mt
|
1993-08-18 22:54:11 +00:00
|
|
|
i386-linux.mt
|
1993-09-28 20:59:59 +00:00
|
|
|
i386-lynx.mt
|
1993-10-29 19:15:57 +00:00
|
|
|
i386-mach.mt
|
1993-08-11 15:57:39 +00:00
|
|
|
i386sco.mh
|
1993-05-25 22:37:41 +00:00
|
|
|
i386v.mh
|
1992-03-13 16:25:26 +00:00
|
|
|
i386v.mt
|
1993-09-17 22:17:52 +00:00
|
|
|
i386v4.mh
|
1993-02-13 09:10:57 +00:00
|
|
|
i960.mt
|
1992-07-23 19:01:34 +00:00
|
|
|
ieee-h8300.mt
|
1993-05-25 22:37:41 +00:00
|
|
|
irix4.mh
|
1992-09-09 18:59:30 +00:00
|
|
|
m68k-coff.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
m68k.mt
|
1993-09-28 20:59:59 +00:00
|
|
|
m68k-lynx.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
m68kv.mt
|
|
|
|
m88k-bcs.mt
|
1993-02-28 14:46:25 +00:00
|
|
|
mipsbsd.mt
|
1993-02-03 17:11:22 +00:00
|
|
|
mips-big.mt
|
1993-03-04 20:49:26 +00:00
|
|
|
mips-idt.mt
|
1993-06-04 19:50:31 +00:00
|
|
|
mips-idtl.mt
|
1993-01-22 22:30:52 +00:00
|
|
|
mips-lit.mt
|
1993-10-12 21:33:57 +00:00
|
|
|
mipsb-elf32.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
news.mt
|
1992-08-24 22:32:46 +00:00
|
|
|
ose68.mt
|
1994-02-25 03:32:08 +00:00
|
|
|
ppc-elf32.mt
|
1992-07-23 19:01:34 +00:00
|
|
|
rtbsd.mh
|
|
|
|
sa29200.mt
|
1993-09-23 21:53:33 +00:00
|
|
|
solaris2.mh
|
1993-07-12 14:59:29 +00:00
|
|
|
sparc64-elf.mt
|
1992-07-23 19:01:34 +00:00
|
|
|
sparc-ll.mh
|
1993-11-01 19:27:15 +00:00
|
|
|
sparc-lynx.mt
|
1992-07-23 19:01:34 +00:00
|
|
|
st2000.mt
|
|
|
|
sun3.mh
|
1992-03-13 16:25:26 +00:00
|
|
|
sun3.mt
|
|
|
|
sun4.mt
|
1993-07-12 14:59:29 +00:00
|
|
|
sun4sol2.mt
|
1993-05-04 02:50:14 +00:00
|
|
|
vax.mt
|
1994-01-04 16:35:49 +00:00
|
|
|
vsta.mt
|
1992-03-13 16:25:26 +00:00
|
|
|
vxworks68.mt
|
1992-09-30 14:35:19 +00:00
|
|
|
z8ksim.mt
|
1993-02-13 09:10:57 +00:00
|
|
|
|
1993-05-27 06:44:29 +00:00
|
|
|
Things-to-lose:
|
|
|
|
|
1993-02-13 09:10:57 +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.
|
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
Do-last:
|
|
|
|
|
1993-07-12 14:59:29 +00:00
|
|
|
if ( echo $* | grep keep-v9 > /dev/null ) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping `pwd`/sparc64-elf.mt.
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing `pwd`/sparc64-elf.mt.
|
|
|
|
fi
|
|
|
|
if [ -n "${safe}" ] ; then
|
|
|
|
mv sparc64-elf.mt .Recover
|
|
|
|
else
|
|
|
|
rm sparc64-elf.mt
|
|
|
|
fi
|
|
|
|
fi
|