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
22 echo Sanitizing `pwd`.
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
86 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
87 echo Keeping v9 in aoutx.h
89 echo Sanitizing v9 in aoutx.h
91 while grep -s start-sanitize-v9 aoutx.h ; do
92 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
103 # Revision 1.19 1991/09/03 22:21:30 rich
106 # Revision 1.18 1991/08/29 00:35:06 gnu
107 # paperwork handled for AMD Coff.
109 # Revision 1.17 1991/08/22 20:23:12 steve
110 # *** empty log message ***
112 # Revision 1.16 1991/08/22 07:31:21 gnu
115 # Revision 1.15 1991/08/22 07:20:49 gnu
116 # Improve our Sanity.
118 # Revision 1.14 1991/08/17 00:17:00 steve
121 # Revision 1.13 1991/08/01 14:37:51 steve
122 # *** empty log message ***
124 # Revision 1.12 1991/08/01 05:33:39 gnu
125 # Forgot one more place to remove amdcoff.c reference (sigh).
127 # Revision 1.11 1991/08/01 01:27:44 gnu
128 # Delete CVS.adm from the release!
130 # Revision 1.10 1991/07/31 22:28:30 gnu
133 # Revision 1.9 1991/07/31 17:37:00 gnu
134 # Remove amdcoff.c (and its name from Makefile.in) by default, because
135 # its copyright is not yet assigned to FSF.
137 # Revision 1.8 1991/07/31 07:54:31 gnu
138 # Better sanitize aoutx.h too!
140 # Revision 1.7 1991/07/16 00:39:03 steve
141 # *** empty log message ***
143 # Revision 1.6 1991/07/16 00:35:56 steve
144 # *** empty log message ***
146 # Revision 1.5 1991/07/15 23:32:40 steve
147 # *** empty log message ***
149 # Revision 1.4 1991/07/04 16:52:54 steve
150 # Now full of documentation. Yum Yum.
152 # Revision 1.3 1991/05/31 11:22:12 gnu
153 # Remove coff-code.h and liba.out.h, add libaout.h.
155 # Revision 1.2 1991/05/29 02:40:08 gnu
156 # Fix up .Sanitize file, remove files that are not referenced.
158 # Revision 1.1 1991/05/23 21:14:00 rich