(Laying some groundwork (that will be incrementally fleshed out) for
authorFred Fish <fnf@specifix.com>
Sat, 28 Dec 1996 05:26:04 +0000 (05:26 +0000)
committerFred Fish <fnf@specifix.com>
Sat, 28 Dec 1996 05:26:04 +0000 (05:26 +0000)
 TIc80)
* dis-asm.h (print_insn_tic80): Declare.

include/.Sanitize

index d6be81f6d5741f892a8abcc70f4b6c366266276b..0894d1794b3a8e7c15bd2aecc98aa5a26f200bf6 100644 (file)
@@ -172,6 +172,34 @@ else
        done
 fi
 
+tic80_files="ChangeLog dis-asm.h"
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping tic80 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"tic80\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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