Remove include files to bfd/hosts.
[deliverable/binutils-gdb.git] / include / .Sanitize
index 9497e3326d106b1e617591c76c8e10d0f5066cdf..e6449df010655f1da96aaab541c636843283503d 100644 (file)
@@ -28,12 +28,13 @@ echo Sanitizing `pwd`...
 Things-to-keep:
 
 COPYING
+ChangeLog
 a.out.encap.h
 a.out.gnu.h
 a.out.host.h
 a.out.sun4.h
-a.out.vax.h
 a29k-opcode.h
+h8300-opcode.h
 amdcoff.h
 ansidecl.h
 aout64.h
@@ -44,6 +45,9 @@ bfd.h
 bout.h
 convx-opcode.h
 ecoff.h
+elf-common.h
+elf-external.h
+elf-internal.h
 gdbm.h
 getopt.h
 i386-opcode.h
@@ -69,39 +73,28 @@ reloc.h
 sparc-opcode.h
 stab.def
 stab.gnu.h
-sys
-sysdep.h
 tahoe-opcode.h
 vax-opcode.h
 wait.h
 
 Do-last:
 
-if ( echo $* | grep keep\-v9 > /dev/null ) ; then
-       echo Keeping v9 in sparc-opcode.h.
-else
-       echo Sanitizing v9 in sparc-opcode.h.
-       rm -f new
-       grep -v v9 sparc-opcode.h > new
-       rm sparc-opcode.h
-       mv new sparc-opcode.h
-fi
+v9dirty="sparc-opcode.h aout64.h"
 
 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
-       echo Keeping v9 in aout64.h.
-else
-       echo Sanitizing v9 in aout64.h.
-       rm -f new
-       grep -v v9 aout64.h > new
-       rm aout64.h
-       mv new aout64.h
-fi
-
-if ( echo $* | grep keep\-29k > /dev/null ) ; then
-       echo Keeping 29k in amdcoff.h
+       echo Keeping v9 in ${v9dirty}
 else
-       echo Sanitizing 29k in amdcoff.h
-       rm -f amdcoff.h
+       for i in ${v9dirty} ; do
+               echo Sanitizing v9 in $i
+               rm -f new
+               grep -v v9 $i > new
+               if [ -n "${safe}" ] ; then
+                       mv $i .Recover
+               else
+                       rm $i
+               fi
+               mv new $i
+       done
 fi
 
 echo Done in `pwd`.
@@ -109,7 +102,35 @@ echo Done in `pwd`.
 #
 #
 # $Log$
-# Revision 1.8  1991/07/31 17:36:04  gnu
+# Revision 1.17  1991/10/16 01:08:08  gnu
+# Remove include files to bfd/hosts.
+#
+# Revision 1.16  1991/10/05  06:18:24  gnu
+# a.out.vax.h gone.
+#
+# Revision 1.15  1991/10/03  22:24:27  gnu
+# Add elf-*.h files.
+#
+# Revision 1.14  1991/09/26  22:46:53  steve
+# Newly created
+#
+# Revision 1.13  1991/09/13  05:17:53  gnu
+# Removes sparc-opcode.h rather than the file it is sanitizing, if not testing!
+# (fixed...)
+#
+# Revision 1.12  1991/09/04  02:51:18  rich
+# Adding "recover"'ability.
+#
+# Revision 1.11  1991/09/02  21:21:47  rich
+# Recover the editted files.
+#
+# Revision 1.10  1991/08/29  00:34:45  gnu
+# Paperwork handled for AMD Coff.
+#
+# Revision 1.9  1991/08/22  08:00:35  gnu
+# Add ChangeLog for Include.
+#
+# Revision 1.8  1991/07/31  17:36:04  gnu
 # Remove amdcoff.h by default because its copyright is not assigned to FSF.
 # "Sanitize -keep-29k" will keep it.
 #
This page took 0.02402 seconds and 4 git commands to generate.