diff options
author | Roland Pesch <pesch@cygnus> | 1993-04-15 23:06:08 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1993-04-15 23:06:08 +0000 |
commit | b0c4169465ad8e6c134603e86e13ab8e5610a4b3 (patch) | |
tree | 0e6e6973838e3961980f24a66ce134cb172ec92d /gas/doc | |
parent | 17b05fe5aba8cab4f543774902b1f91146a17b90 (diff) | |
download | gdb-b0c4169465ad8e6c134603e86e13ab8e5610a4b3.zip gdb-b0c4169465ad8e6c134603e86e13ab8e5610a4b3.tar.gz gdb-b0c4169465ad8e6c134603e86e13ab8e5610a4b3.tar.bz2 |
Arrange to clean out references to Hitachi SH.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/.Sanitize | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/gas/doc/.Sanitize b/gas/doc/.Sanitize index 91ebfe7..3a20601 100644 --- a/gas/doc/.Sanitize +++ b/gas/doc/.Sanitize @@ -33,11 +33,33 @@ as.texinfo Do-last: +shdirty="as.texinfo h8.texi all.texi" +if ( echo $* | grep keep\-sh > /dev/null ) ; then + echo Keeping Hitachi SH in ${shdirty} +else + for i in ${shdirty} ; do + echo Sanitizing Hitachi SH in $i + rm -f new + sed '/start Hitachi-SH/,/^end Hitachi-SH/d' < $i > new + if grep -s "[- ]SH" new ; then + echo *****SANITIZING HITACHI SH IN $i FAILED***** + fi + if [ -n "${safe}" ] ; then + mv $i .Recover + else + rm $i + fi + mv new $i + done +fi # # # $Log$ -# Revision 1.9 1993/04/08 03:12:53 pesch +# Revision 1.10 1993/04/15 23:06:08 pesch +# Arrange to clean out references to Hitachi SH. +# +# Revision 1.9 1993/04/08 03:12:53 pesch # Converted to Texinfo conditionals; no longer need M4. # Checked makeinfo output for "all" config; other old M4 configs now sanitized # out, will be replaced by .texi configs as each config is tested. |