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
110 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
111 echo Keeping v9 stuff in tc-sparc.c.
113 echo Cleaning tc-sparc.c...
114 sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new
115 if [ -n "${safe}" ] ; then
116 cp tc-sparc.c .Recover
126 # Revision 1.8 1991/11/06 11:53:16 sac
127 # Wouldn't it be nice if Sanitize ignored spaces ?
129 # Revision 1.7 1991/11/06 09:14:33 sac
130 # Uniq contents, since configure gets confused if the same file is in more than once.
132 # Revision 1.6 1991/11/05 21:21:12 sac
133 # Added a load of mt/mh files
135 # Revision 1.5 1991/10/22 03:26:06 steve
138 # Revision 1.4 1991/09/04 01:55:53 rich
139 # test & recover a better way.
141 # Revision 1.3 1991/09/02 21:26:15 rich
142 # "recover" tc-sparc.c
144 # Revision 1.2 1991/09/02 01:03:38 rich
145 # Correct a few things.
147 # Revision 1.1 1991/05/23 17:09:03 rich