From 62ba1060a476c6aaf0fbe723946f38625fcfc95e Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 10 Sep 1992 17:20:10 +0000 Subject: [PATCH] Special stuff to strip v9 out of sparc-opc.c --- opcodes/.Sanitize | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 46543cbbb16..f0d90f16da1 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -32,6 +32,21 @@ z8k-opc.h Do-last: +Do-last: + +if ( echo $* | grep keep\-v9 > /dev/null ) ; then + echo Keeping v9 in sparc-opc.c +else + echo Sanitizing v9 in sparc-opc.c + rm -f new + grep -v v9 sparc-opc.c > new + if [ -n "${safe}" ] ; then + mv sparc-opc.c .Recover + else + rm sparc-opc.c + fi + mv new sparc-opc.c +fi echo Done in `pwd`. -- 2.30.2