* remote-monitor.c (_initialize_monitor): Comment out use of
[deliverable/binutils-gdb.git] / .Sanitize
1 # .Sanitize for devo.
2
3 # Each directory to survive it's 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 if ( echo $* | grep keep\-chill > /dev/null ) ; then
19 keep_these_too="chillrt test-chill"
20 fi
21
22 if ( echo $* | grep keep\-cygnus > /dev/null) ; then
23 keep_these_too="${keep_these_too} release release-info"
24 fi
25
26
27 # All files listed between the "Things-to-keep:" line and the
28 # "Do-last:" line will be kept. All other files will be removed.
29 # Directories listed in this section will have their own Sanitize
30 # called. Directories not listed will be removed in their entirety
31 # with rm -rf.
32
33 Things-to-keep:
34
35 .cvsignore
36 COPYING
37 COPYING.LIB
38 CYGNUS
39 ChangeLog
40 Makefile.in
41 README
42 autoconf
43 bfd
44 binutils
45 build-all.mk
46 byacc
47 config
48 config.guess
49 config.sub
50 configure
51 configure.bat
52 configure.in
53 cvs
54 deja-gnu
55 dejagnu
56 diff
57 dvips
58 emacs
59 etc
60 expect
61 fileutils
62 flex
63 gas
64 gcc
65 gdb
66 gdbm
67 gdbtest
68 glob
69 gprof
70 grep
71 groff
72 include
73 install.sh
74 ispell
75 ld
76 libg++
77 libgcc
78 libiberty
79 m4
80 make
81 mmalloc
82 move-if-change
83 newlib
84 opcodes
85 patch
86 prms
87 rcs
88 readline
89 sed
90 send-pr
91 shellutils
92 sim
93 tcl
94 textutils
95 tk
96 test-build.mk
97 texinfo
98 tgas
99 uudecode
100 wdiff
101 xiberty
102
103 Things-to-lose:
104
105 # The lines between the "Do-last:" line and the end of the file
106 # are executed as a /bin/sh shell script after everything else is
107 # done.
108
109 Do-last:
110
111 if ( echo $* | egrep verbose > /dev/null ) ; then
112 verbose=true
113 else
114 verbose=
115 fi
116
117 if [ -n "${verbose}" ] ; then
118 echo Looking for signs of \"v9\"...
119 fi
120
121 # Don't try to clean directories here, as the 'mv' command will fail.
122 # Also, grep fails on NFS mounted directories.
123 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
124 for i in * ; do
125 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
126 if [ -n "${verbose}" ] ; then
127 echo Keeping v9 stuff in $i
128 fi
129 fi
130 done
131 else
132 for i in * ; do
133 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
134 if [ -n "${verbose}" ] ; then
135 echo Cleaning the \"v9\" out of $i...
136 fi
137 cp $i new
138 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
139 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
140 mv $i .Recover
141 fi
142 mv new $i
143 fi
144 done
145 fi
146
147 if [ -n "${verbose}" ] ; then
148 echo Thawing away the \"chill\"...
149 fi
150
151 # Don't try to clean directories here, as the 'mv' command will fail.
152 # Also, grep fails on NFS mounted directories.
153 if ( echo $* | grep keep\-chill > /dev/null ) ; then
154 for i in * ; do
155 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
156 if [ -n "${verbose}" ] ; then
157 echo Keeping chill stuff in $i
158 fi
159 fi
160 done
161 else
162 for i in * ; do
163 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
164 if [ -n "${verbose}" ] ; then
165 echo Thawing the \"chill\" out of $i...
166 fi
167 cp $i new
168 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
169 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
170 if [ -n "${verbose}" ] ; then
171 echo Caching $i in .Recover...
172 fi
173 mv $i .Recover
174 fi
175 mv new $i
176 fi
177 done
178 fi
179
180 for i in * ; do
181 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
182 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
183 fi
184 done
185
186 # eof
This page took 0.033526 seconds and 4 git commands to generate.