diff options
-rw-r--r-- | bfd/.Sanitize | 13 | ||||
-rw-r--r-- | bfd/hosts/.Sanitize | 2 | ||||
-rw-r--r-- | opcodes/.Sanitize | 11 |
3 files changed, 19 insertions, 7 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 4707a0a..67faaa8 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -22,10 +22,15 @@ else fi if ( echo $* | grep keep\-mpw > /dev/null ) ; then - keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" - if ( echo $* | grep keep\-gm > /dev/null ) ; then - keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" - fi + keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${keep_these_too}" +else + lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw ${lose_these_too}" +fi + +if ( echo $* | grep keep\-gm > /dev/null ) ; then + keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" +else + lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}" fi # All files listed between the "Things-to-keep:" line and the diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index 8279606..28e7f28 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -17,6 +17,8 @@ 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 diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index cbbf57e..3a2d8c8 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -17,9 +17,14 @@ Do-first: if ( echo $* | grep keep\-mpw > /dev/null ) ; then keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" - if ( echo $* | grep keep\-gm > /dev/null ) ; then - keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" - fi +else + lose_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" +fi + +if ( echo $* | grep keep\-gm > /dev/null ) ; then + keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" +else + lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}" fi # All files listed between the "Things-to-keep:" line and the |