aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-07-31 07:54:31 +0000
committerJohn Gilmore <gnu@cygnus>1991-07-31 07:54:31 +0000
commit446545dd8571641338d7eed1501c113779749b69 (patch)
tree900182a87c64d55ce3c2143fed8aafa100b94b10 /bfd/.Sanitize
parent72b1b275ecf03bc227ca747197530970b478b0c0 (diff)
downloadgdb-446545dd8571641338d7eed1501c113779749b69.zip
gdb-446545dd8571641338d7eed1501c113779749b69.tar.gz
gdb-446545dd8571641338d7eed1501c113779749b69.tar.bz2
Better sanitize aoutx.h too!
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize22
1 files changed, 17 insertions, 5 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index 9866472..6724ccf 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -17,7 +17,7 @@
Do-first:
-echo Sanitizing `pwd`...
+echo Sanitizing `pwd`.
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
@@ -29,7 +29,6 @@ Things-to-keep:
COPYING
CVS.adm
ChangeLog
-Makefile
Makefile.in
TODO
VERSION
@@ -47,7 +46,6 @@ bout.c
cache.c
coffcode.h
config
-config.status
configure
configure.in
core.c
@@ -71,7 +69,6 @@ newsos3.c
oasys.c
opncls.c
reloc.c
-save
section.c
srec.c
sunos.c
@@ -82,12 +79,27 @@ trad-core.h
Do-last:
+if ( echo $* | grep keep\-v9 > /dev/null ) ; then
+ echo Keeping v9 in aoutx.h
+else
+ echo Sanitizing v9 in aoutx.h
+ rm -f new
+ while grep -s start-sanitize-v9 aoutx.h ; do
+ sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
+ rm aoutx.h
+ mv new aoutx.h
+ done
+fi
+
echo Done in `pwd`.
#
#
# $Log$
-# Revision 1.7 1991/07/16 00:39:03 steve
+# Revision 1.8 1991/07/31 07:54:31 gnu
+# Better sanitize aoutx.h too!
+#
+# Revision 1.7 1991/07/16 00:39:03 steve
# *** empty log message ***
#
# Revision 1.6 1991/07/16 00:35:56 steve