When starting a new simulator run, ensure proceed status is cleared.
[deliverable/binutils-gdb.git] / gdb / doc / .Sanitize
1 # .Sanitize for gdb/doc.
2
3 # Each directory to survive its way into a release will need a file
4 # like this one called "./.Sanitize". All keyword lines must exist,
5 # and must exist in the order specified by this file. Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done. Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this directory.
15
16 Do-first:
17
18 # Note that gdbgui.texinfo is actually a generic document, but right
19 # now it only describes gdbtk, so we keep/lose as a gdbtk file.
20
21 gdbtk_files="gdbgui.texinfo"
22
23 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
24 lose_these_too="${gdbtk_files} ${lose_these_too}"
25 if [ -n "${verbose}" ] ; then
26 echo Deleting ${gdbtk_files}
27 fi
28 else
29 keep_these_too="${gdbtk_files} ${keep_these_too}"
30 if [ -n "${verbose}" ] ; then
31 echo Keeping ${gdbtk_files}
32 fi
33 fi
34
35 # All files listed between the "Things-to-keep:" line and the
36 # "Files-to-sed:" line will be kept. All other files will be removed.
37 # Directories listed in this section will have their own Sanitize
38 # called. Directories not listed will be removed in their entirety
39 # with rm -rf.
40
41 # Note that we don't even keep the "config" directory, since it is
42 # not currently used (since we abolished use of M4 in the docs).
43
44 Things-to-keep:
45
46 ChangeLog
47 LRS
48 Makefile.in
49 a4rc.sed
50 all-cfg.texi
51 annotate.texi
52 configure
53 configure.in
54 libgdb.texinfo
55 gdb.texinfo
56 gdbint.texinfo
57 h8-cfg.texi
58 lpsrc.sed
59 psrc.sed
60 refcard.tex
61 remote.texi
62 stabs.texinfo
63
64 Things-to-lose:
65
66 # Cygnus logo bitmap, huge file, no point in bundling all over the place.
67 cyglogo.eps
68 # Includes cyglogo.eps.
69 cygref.tex
70
71 # The README file for gdb testers using snapshots.
72 snapshots.readme
73
74 Do-last:
75
76 # Don't try to clean directories here, as the 'mv' command will fail.
77 # Also, grep fails on NFS mounted directories.
78 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
79 echo Catering to RMS by removing traces of \"gdbtk\"...
80 for i in * ; do
81 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
82 echo Removing traces of \"gdbtk\" out of $i...
83 cp $i new
84 sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/d' < $i > new
85 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
86 echo Caching $i in .Recover...
87 mv $i .Recover
88 fi
89 mv new $i
90 fi
91 done
92 else
93 echo Leaving \"gdbtk\" in the sources...
94 for i in * ; do
95 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
96 echo Keeping \"gdbtk\" stuff in $i, but editing out sanitize lines...
97 cp $i new
98 sed -e '/start\-sanitize\-gdbtk/d' -e '/end\-sanitize\-gdbtk/d' < $i > new
99 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
100 echo Caching $i in .Recover...
101 mv $i .Recover
102 fi
103 mv new $i
104 fi
105 done
106 fi
107
108 # End of file.
This page took 0.031263 seconds and 4 git commands to generate.