diff options
author | Doug Evans <dje@google.com> | 1997-12-22 13:57:57 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1997-12-22 13:57:57 +0000 |
commit | cc8b3b770f8ce1ae01dcd761cf60e8eef1348bce (patch) | |
tree | 3743530ee1bf81fdd1ef8b741bf88adf036046fc /include/elf/.Sanitize | |
parent | 20320f7d8d9852caf6aa35fe6e531a471530ee8e (diff) | |
download | fsf-binutils-gdb-cc8b3b770f8ce1ae01dcd761cf60e8eef1348bce.zip fsf-binutils-gdb-cc8b3b770f8ce1ae01dcd761cf60e8eef1348bce.tar.gz fsf-binutils-gdb-cc8b3b770f8ce1ae01dcd761cf60e8eef1348bce.tar.bz2 |
* txvu.h: New file.
Diffstat (limited to 'include/elf/.Sanitize')
-rw-r--r-- | include/elf/.Sanitize | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index 6b93f60..4dfb1a1 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -1,5 +1,4 @@ -# Sanitize.in for devo. -# +# Sanitize.in for devo/include/elf. # Each directory to survive it's way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, @@ -16,6 +15,13 @@ Do-first: +sky_files=txvu.h +if ( echo $* | grep keep\-sky > /dev/null ) ; then + keep_these_too="${sky_files} ${keep_these_too}" +else + lose_these_too="${sky_files} ${lose_these_too}" +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 @@ -127,6 +133,34 @@ else done fi +sky_files="ChangeLog" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end\-sanitize\-sky/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |