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 # 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
37 shdirty="as.texinfo h8.texi all.texi"
39 if ( echo $* | grep keep\-sh > /dev/null ) ; then
40 echo Keeping Hitachi SH in ${shdirty}
42 for i in ${shdirty} ; do
43 echo Sanitizing Hitachi SH in $i
45 sed '/start Hitachi-SH/,/^end Hitachi-SH/d' < $i > new
46 if grep -s "[- ]SH" new ; then
47 echo *****SANITIZING HITACHI SH IN $i FAILED*****
\a\a
49 if [ -n "${safe}" ] ; then
60 # Revision 1.11 1993/04/15 23:55:45 pesch
61 # Add h8.texi to things-to-keep
63 # Revision 1.10 1993/04/15 23:06:08 pesch
64 # Arrange to clean out references to Hitachi SH.
66 # Revision 1.9 1993/04/08 03:12:53 pesch
67 # Converted to Texinfo conditionals; no longer need M4.
68 # Checked makeinfo output for "all" config; other old M4 configs now sanitized
69 # out, will be replaced by .texi configs as each config is tested.
71 # Revision 1.8 1993/03/02 17:57:05 raeburn
74 # Revision 1.7 1993/02/13 10:12:26 zoo
75 # removing excess verbosity
77 # Revision 1.6 1992/12/08 09:39:03 raeburn
78 # as-m680x0.texinfo does not exist
80 # Revision 1.5 1992/11/19 19:48:43 sac
82 # * Makefile.in, all.m4, as-all.texinfo as.texinfo: all modified
84 # Revision 1.4 1992/03/10 00:50:59 rich
85 # keep ChangeLog and as-all.texinfo
87 # Revision 1.3 1992/02/24 13:54:45 tiemann
88 # Keep Makefile.in and configure.in. Don't keep Makefile.
90 # Revision 1.2 1992/02/21 09:08:37 rich
93 # Revision 1.1 1992/02/14 00:28:22 pesch
94 # Might as well keep the contents of the gas/doc subdir, as well as the