Always keep all MPW support files
authorStan Shebs <shebs@codesourcery.com>
Tue, 4 Apr 1995 19:53:04 +0000 (19:53 +0000)
committerStan Shebs <shebs@codesourcery.com>
Tue, 4 Apr 1995 19:53:04 +0000 (19:53 +0000)
bfd/.Sanitize
bfd/hosts/.Sanitize

index 95b138f5c7a647cc0a57f10fe558b11319a25687..35e9b3d3d1aba4f2ddc532ce7581f6301d97dfb4 100644 (file)
 
 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"
 
 if ( echo $* | grep keep\-rce > /dev/null ) ; then
@@ -191,6 +183,8 @@ m68knetbsd.c
 m88kmach3.c
 makefile.dos
 mipsbsd.c
+mpw-config.in
+mpw-make.in
 newsos3.c
 netbsd.h
 nlm-target.h
@@ -231,28 +225,6 @@ Things-to-lose:
 
 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"
 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
        if [ -n "${verbose}" ] ; then
index 5f5037f82cbba8aa0ac6fa8939f690069a17704b..74254822f94f72ee4400db2255f865931041e965 100644 (file)
 
 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
 # "Files-to-sed:" line will be kept.  All other files will be removed.
@@ -66,6 +61,7 @@ m88kmach3.h
 miniframe.h
 mipsbsd.h
 mipsmach3.h
+mpw.h
 nbsd.h
 ncr3000.h
 news-mips.h