1 # Sanitize.in for devo.
4 # Each directory to survive it's way into a release will need a file
5 # like this one called "./.Sanitize". All keyword lines must exist,
6 # and must exist in the order specified by this file. Each directory
7 # in the tree will be processed, top down, in the following order.
9 # Hash started lines like this one are comments and will be deleted
10 # before anything else is done. Blank lines will also be squashed
13 # The lines between the "Do-first:" line and the "Things-to-keep:"
14 # line are executed as a /bin/sh shell script before anything else is
20 # All files listed between the "Things-to-keep:" line and the
21 # "Files-to-sed:" line will be kept. All other files will be removed.
22 # Directories listed in this section will have their own Sanitize
23 # called. Directories not listed will be removed in their entirety
98 if ( echo $* | grep keep-v9 > /dev/null ) ; then
99 if [ -n "${verbose}" ] ; then
100 echo Keeping `pwd`/ChangeLog.v9.
101 echo Keeping v9 code in `pwd`/configure.in.
104 if [ -n "${verbose}" ] ; then
105 echo Removing `pwd`/ChangeLog.v9
107 if [ -n "${safe}" ] ; then
108 mv ChangeLog.v9 .Recover
112 if [ -n "${verbose}" ] ; then
113 echo Cleaning v9 code from `pwd`/configure.in.
115 grep -v v9 < configure.in > new
116 if [ -n "${safe}" ]; then
117 mv configure.in .Recover
119 mv -f new configure.in