* expr.h (operatorT): Remove comma after last enumerator value.
[deliverable/binutils-gdb.git] / gas / doc / .Sanitize
CommitLineData
0c5e345c 1# Sanitize.in for devo.
0c5e345c
RP
2#
3
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.
8
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
11# out.
12
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
15# done in this
16
17Do-first:
18
19# All files listed between the "Things-to-keep:" line and the
20# "Files-to-sed:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
b0c02418
MT
27Makefile.in
28configure.in
730ad1a7 29all.texi
0c5e345c 30as.1
0c5e345c 31as.texinfo
db8e56dc
KR
32c-a29k.texi
33c-h8300.texi
34c-h8500.texi
35c-hppa.texi
36c-i386.texi
37c-i960.texi
38c-m68k.texi
39c-mips.texi
40c-sh.texi
41c-sparc.texi
42c-vax.texi
43c-z8k.texi
24b9a4e2 44gasp.texi
4f6a1ad1 45h8.texi
01f8d309 46internals.texi
0c5e345c 47
87756e15
RP
48Things-to-lose:
49
0c5e345c
RP
50Do-last:
51
3fb52301
DE
52# Don't try to clean directories here, as the 'mv' command will fail.
53# Also, grep fails on NFS mounted directories.
54
55if [ -n "${verbose}" ] ; then
56 echo Processing \"arc\"...
57fi
58
59arc_files="all.texi as.texinfo"
60if ( echo $* | grep keep\-arc > /dev/null ) ; then
61 for i in $arc_files ; do
62 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
63 if [ -n "${verbose}" ] ; then
64 echo Keeping arc stuff in $i
65 fi
66 fi
67 done
68else
69 for i in $arc_files ; do
70 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
71 if [ -n "${verbose}" ] ; then
72 echo Removing traces of \"arc\" from $i...
73 fi
74 cp $i new
75 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
76 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
77 if [ -n "${verbose}" ] ; then
78 echo Caching $i in .Recover...
79 fi
80 mv $i .Recover
81 fi
82 mv new $i
83 fi
84 done
85fi
86
87for i in * ; do
88 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
89 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
90 fi
91done
92
0c5e345c 93# End of file.
This page took 0.171115 seconds and 4 git commands to generate.