binutils-gdb/ld/.Sanitize

172 lines
2.8 KiB
Plaintext
Raw Normal View History

1991-05-24 06:49:14 +09:00
# Sanitize.in for devo.
# $Id$
#
# Each directory to survive it's way into a release will need a file
# 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
# done in this
1991-05-24 06:49:14 +09:00
Do-first:
1993-02-27 02:53:13 +08:00
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
keep_these_too=""
fi
1991-05-24 06:49:14 +09:00
# 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
# called. Directories not listed will be removed in their entirety
# with rm -rf.
Things-to-keep:
ChangeLog
1991-05-24 06:49:14 +09:00
Makefile.in
1992-02-17 04:49:26 +08:00
README
1992-09-04 06:56:45 +08:00
TODO
1992-02-17 04:49:26 +08:00
a29k.sc-sh
a29k.sh
aout.sc-sh
1993-02-28 22:46:25 +08:00
aout-mipsbsd.sc-sh
cdtest-foo.cc
cdtest-foo.h
cdtest-func.cc
cdtest-main.cc
cdtest.exp
1991-05-24 06:49:14 +09:00
config
1991-09-24 04:59:12 +08:00
config.h
1992-02-22 08:11:39 +08:00
configure.bat
1991-05-24 06:49:14 +09:00
configure.in
1992-02-17 04:49:26 +08:00
ebmon29k.sc-sh
ebmon29k.sh
generic.em
genscripts.sh
h8-doc.texi
1992-08-18 02:35:59 +08:00
ld.1
gen-doc.texi
1992-02-17 04:49:26 +08:00
gld960.em
gld960.sh
go32.sh
1992-02-22 08:11:39 +08:00
hp300bsd.sh
hp3hpux.sh
hppaosf.em
hppaosf.sc-sh
hppaosf.sh
1992-02-17 04:49:26 +08:00
h8300hms.em
h8300hms.sc-sh
h8300hms.sh
1993-04-10 01:46:13 +08:00
h8500hms.em
h8500hms.sc-sh
h8500hms.sh
1992-02-17 04:49:26 +08:00
i386aout.sh
1993-02-28 22:46:25 +08:00
i386bsd.sh
1992-09-12 04:43:33 +08:00
i386coff.sc-sh
1992-09-12 01:47:22 +08:00
i386coff.sh
1992-02-17 04:49:26 +08:00
i960.sc-sh
1991-09-24 04:59:12 +08:00
ld.h
ld.texinfo
1991-11-06 04:36:54 +08:00
ldctor.c
1991-12-08 09:27:59 +08:00
ldctor.h
1992-02-17 04:49:26 +08:00
ldemul.c
ldemul.h
lderror.c
1992-03-08 02:32:27 +08:00
lderror.h
1991-09-24 04:59:12 +08:00
ldexp.c
ldexp.h
ldfile.c
ldfile.h
ldgram.y
1992-02-17 04:49:26 +08:00
ldindr.c
ldindr.h
ldint.texinfo
1991-09-24 04:59:12 +08:00
ldlang.c
ldlang.h
ldlex.h
ldlex.l
ldmain.c
ldmain.h
ldmisc.c
ldmisc.h
ldsym.c
ldsym.h
ldver.c
ldver.h
1992-02-17 04:49:26 +08:00
ldwarn.c
1991-09-24 04:59:12 +08:00
ldwarn.h
ldwrite.c
ldwrite.h
lexsup.c
1992-02-17 04:49:26 +08:00
lnk960.em
lnk960.sh
m68kcoff.sc-sh
m68kcoff.sh
1992-02-17 04:49:26 +08:00
m88kbcs.sc-sh
m88kbcs.sh
mips.sc-sh
1993-02-04 01:11:22 +08:00
mipsbig.sh
1993-02-28 22:46:25 +08:00
mipsbsd.sh
mipsidt.sh
mipslit.sh
1992-04-16 07:11:53 +08:00
mri.c
1992-05-02 06:08:40 +08:00
mri.h
go32.sh
1991-09-24 04:59:12 +08:00
mkscript.c
1992-02-17 04:49:26 +08:00
news.sh
relax.c
1992-03-08 02:32:27 +08:00
relax.h
sh.em
sh.sc-sh
sh.sh
1992-05-02 10:08:21 +08:00
st2000.em
st2000.sc-sh
st2000.sh
sa29200.sc-sh
sa29200.sh
1992-09-02 06:14:49 +08:00
scripts
1992-02-17 04:49:26 +08:00
sun3.sh
sun4.sh
vanilla.em
vanilla.sc-sh
vanilla.sh
vax.sh
z8ksim.em
z8ksim.sc-sh
z8ksim.sh
1991-05-24 06:49:14 +09:00
Do-last:
1993-02-27 02:53:13 +08:00
echo Looking for signs of \"v9\"...
# Don't try to clean directories here, as the 'mv' command will fail.
# Also, grep fails on NFS mounted directories.
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
echo Keeping v9 stuff in $i
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
echo Cleaning the \"v9\" out of $i...
cp $i new
sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
echo Caching $i in .Recover...
mv $i .Recover
fi
mv new $i
fi
done
fi
1991-05-24 06:49:14 +09:00
# End of file.