1 # Sanitize.in for devo.
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
20 echo Sanitizing `pwd`...
22 # All files listed between the "Things-to-keep:" line and the
23 # "Files-to-sed:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
80 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
81 echo Keeping v9 in sparc-opcode.h.
83 echo Sanitizing v9 in sparc-opcode.h.
85 grep -v v9 sparc-opcode.h > new
90 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
91 echo Keeping v9 in aout64.h.
93 echo Sanitizing v9 in aout64.h.
95 grep -v v9 aout64.h > new
100 if ( echo $* | grep keep\-29k > /dev/null ) ; then
101 echo Keeping 29k in amdcoff.h
103 echo Sanitizing 29k in amdcoff.h
112 # Revision 1.8 1991/07/31 17:36:04 gnu
113 # Remove amdcoff.h by default because its copyright is not assigned to FSF.
114 # "Sanitize -keep-29k" will keep it.
116 # Revision 1.7 1991/07/31 03:11:46 gnu
117 # Remove symseg.h, the ancient GDB symbol-segments (gdb-specific debug
118 # information) definition.
120 # Revision 1.6 1991/07/24 01:07:25 gnu
123 # Revision 1.5 1991/07/24 00:47:13 gnu
124 # Blow away v9 stuff in aout64.h too.
126 # Revision 1.4 1991/07/15 23:34:14 steve
127 # *** empty log message ***
129 # Revision 1.3 1991/06/14 22:14:07 steve
130 # *** empty log message ***
132 # Revision 1.2 1991/05/31 11:26:52 gnu
133 # Add i386coff.h. Print msg when sanitizing sparc-opcode.h.
135 # Revision 1.1 1991/05/23 17:00:59 rich