diff options
author | Michael Meissner <gnu@the-meissners.org> | 1997-12-17 19:48:33 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1997-12-17 19:48:33 +0000 |
commit | 4f2e777e2b67ca0a1b9fc08c1437f119978a1853 (patch) | |
tree | f17e5a4f972301cb2aa203a003312a5e6c17f261 /gas/doc | |
parent | d279563d5342c96e5132b1b7db0d2e23f5e061fb (diff) | |
download | gdb-4f2e777e2b67ca0a1b9fc08c1437f119978a1853.zip gdb-4f2e777e2b67ca0a1b9fc08c1437f119978a1853.tar.gz gdb-4f2e777e2b67ca0a1b9fc08c1437f119978a1853.tar.bz2 |
Start d30v documentation
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/.Sanitize | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gas/doc/.Sanitize b/gas/doc/.Sanitize index 1c14dc9..032dd65 100644 --- a/gas/doc/.Sanitize +++ b/gas/doc/.Sanitize @@ -16,6 +16,14 @@ Do-first: +d30v_files="c-d30v.texi" + +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + keep_these_too="${d30v_files} ${keep_these_too}" +else + lose_these_too="${d30v_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 @@ -82,6 +90,34 @@ else done fi +v850e_files="c-d30v.texi as.texinfo all.texi" +if ( echo $* | grep keep\-d30v > /dev/null ) ; then + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping d30v stuff in $i + fi + fi + done +else + for i in $d30v_files ; do + if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"d30v\" from $i... + fi + cp $i new + sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 + m32rx_files="c-m32r.texi as.texinfo" if ( echo $* | grep keep\-m32rx > /dev/null ) ; then for i in $m32rx_files ; do |