diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-03-23 22:25:00 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-03-23 22:25:00 +0000 |
commit | ea936fd77b3a3f60af95dcdeaca612035deb2548 (patch) | |
tree | 6497aedb97d6bd2b175bd421fdbaaca1bc0adae1 /gdb/config/m68k/.Sanitize | |
parent | 698ce51f3f277316163cf9c65a7064395ff6b2c3 (diff) | |
download | gdb-ea936fd77b3a3f60af95dcdeaca612035deb2548.zip gdb-ea936fd77b3a3f60af95dcdeaca612035deb2548.tar.gz gdb-ea936fd77b3a3f60af95dcdeaca612035deb2548.tar.bz2 |
MPW config stuff for GDB.
Diffstat (limited to 'gdb/config/m68k/.Sanitize')
-rw-r--r-- | gdb/config/m68k/.Sanitize | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/gdb/config/m68k/.Sanitize b/gdb/config/m68k/.Sanitize index 1bfd21d..98c969f 100644 --- a/gdb/config/m68k/.Sanitize +++ b/gdb/config/m68k/.Sanitize @@ -1,4 +1,6 @@ -# Each directory to survive it's way into a release will need a file +# .Sanitize for devo/gdb/config/m68k. + +# 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. @@ -9,10 +11,24 @@ # 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: +mpw_files="xm-mpw.h" + +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + keep_these_too="${mpw_files}" + if [ -n "${verbose}" ] ; then + echo Keeping ${mpw_files} + fi +else + lose_these_too="${mpw_files}" + if [ -n "${verbose}" ] ; then + echo Deleting ${mpw_files} + fi +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 |