From: Stan Shebs Date: Tue, 1 Feb 1994 03:48:54 +0000 (+0000) Subject: Keep or lose MPW subdir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2323d13b5cb6d37bd9b6155dd4a91ebb13a3a7d4;p=binutils-gdb.git Keep or lose MPW subdir --- diff --git a/include/.Sanitize b/include/.Sanitize index 8959c3309c9..5930f76bad2 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -1,8 +1,6 @@ -# Sanitize.in for devo. -# $Id$ -# +# .Sanitize for devo/include. -# Each directory to survive it's way into a release will need a file +# Each directory to survive its 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. @@ -13,10 +11,16 @@ # 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 +# done in this directory. Do-first: +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + keep_these_too="mpw" +else + lose_these_too="mpw" +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. # Directories listed in this section will have their own Sanitize