Always keep all MPW support files
This commit is contained in:
parent
3da0c638f8
commit
241d8883ed
|
@ -15,14 +15,6 @@
|
||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw"
|
|
||||||
|
|
||||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
|
||||||
keep_these_too="${mpw_files} ${keep_these_too}"
|
|
||||||
else
|
|
||||||
lose_these_too="${mpw_files} ${lose_these_too}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
rce_files="cpu-rce.c aout-rce.c"
|
rce_files="cpu-rce.c aout-rce.c"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||||
|
@ -191,6 +183,8 @@ m68knetbsd.c
|
||||||
m88kmach3.c
|
m88kmach3.c
|
||||||
makefile.dos
|
makefile.dos
|
||||||
mipsbsd.c
|
mipsbsd.c
|
||||||
|
mpw-config.in
|
||||||
|
mpw-make.in
|
||||||
newsos3.c
|
newsos3.c
|
||||||
netbsd.h
|
netbsd.h
|
||||||
nlm-target.h
|
nlm-target.h
|
||||||
|
@ -231,28 +225,6 @@ Things-to-lose:
|
||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
mpwfiles="ecoffswap.h coffswap.h"
|
|
||||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping mpw stuff in $mpwfiles.
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [ -n "${verbose}" ]; then
|
|
||||||
echo -n Cleaning mpw in `pwd`:
|
|
||||||
fi
|
|
||||||
for f in $mpwfiles ; do
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo -n " " $f
|
|
||||||
fi
|
|
||||||
sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
|
|
||||||
if [ -n "${safe}" ] ; then
|
|
||||||
mv $f .Recover
|
|
||||||
fi
|
|
||||||
mv new $f
|
|
||||||
done
|
|
||||||
chmod a+x config.bfd
|
|
||||||
fi
|
|
||||||
|
|
||||||
i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
|
i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
|
||||||
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
|
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
|
||||||
if [ -n "${verbose}" ] ; then
|
if [ -n "${verbose}" ] ; then
|
||||||
|
|
|
@ -15,11 +15,6 @@
|
||||||
|
|
||||||
Do-first:
|
Do-first:
|
||||||
|
|
||||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
|
||||||
keep_these_too="mpw.h"
|
|
||||||
else
|
|
||||||
lose_these_too="mpw.h"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# All files listed between the "Things-to-keep:" line and the
|
# All files listed between the "Things-to-keep:" line and the
|
||||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||||
|
@ -66,6 +61,7 @@ m88kmach3.h
|
||||||
miniframe.h
|
miniframe.h
|
||||||
mipsbsd.h
|
mipsbsd.h
|
||||||
mipsmach3.h
|
mipsmach3.h
|
||||||
|
mpw.h
|
||||||
nbsd.h
|
nbsd.h
|
||||||
ncr3000.h
|
ncr3000.h
|
||||||
news-mips.h
|
news-mips.h
|
||||||
|
|
Loading…
Reference in New Issue