Don't die on TYPE_CODE_UNDEF nodes as base classes.
[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 # All files listed between the "Things-to-keep:" line and the
19 # "Do-last:" line will be kept. All other files will be removed.
20 # Directories listed in this section will have their own Sanitize
21 # called. Directories not listed will be removed in their entirety
22 # with rm -rf.
23
24 Things-to-keep:
25
26 CYGNUS
27 ChangeLog
28 Makefile.in
29 README
30 autoconf
31 bfd
32 binutils
33 bison
34 byacc
35 cfg-paper.texi
36 clib
37 config
38 config.sub
39 configure
40 configure.bat
41 configure.in
42 configure.man
43 configure.texi
44 cvs
45 diff
46 emacs
47 flex
48 gas
49 gcc
50 gdb
51 gdbm
52 gdbtest
53 glob
54 gprof
55 grep
56 include
57 ispell
58 ld
59 libg++
60 libgcc
61 libiberty
62 make
63 mmalloc
64 move-if-change
65 newlib
66 patch
67 prms
68 rcs
69 readline
70 send_pr
71 standards.texi
72 texinfo
73 tgas
74
75 # The lines between the "Do-last:" line and the end of the file
76 # are executed as a /bin/sh shell script after everything else is
77 # done.
78
79 Do-last:
80
81 echo Looking for signs of \"v9\"...
82
83 # Don't try to clean directories here, as the 'mv' command will fail.
84 # Also, grep fails on NFS mounted directories.
85 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
86 for i in * ; do
87 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
88 echo Keeping v9 stuff in $i
89 fi
90 done
91 else
92 for i in * ; do
93 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
94 echo Cleaning the \"v9\" out of $i...
95 cp $i new
96 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
97 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
98 mv $i .Recover
99 fi
100 mv new $i
101 fi
102 done
103 fi
104
105 echo Looking for signs of \"life\"...
106
107 # Don't try to clean directories here, as the 'mv' command will fail.
108 # Also, grep fails on NFS mounted directories.
109 if ( echo $* | grep keep\-life > /dev/null ) ; then
110 for i in * ; do
111 if test ! -d $i && (grep sanitize-life $i > /dev/null) ; then
112 echo Keeping life alive in $i
113 fi
114 done
115 else
116 for i in * ; do
117 if test ! -d $i && (grep sanitize-life $i > /dev/null) ; then
118 echo Beating the \"life\" out of $i...
119 cp $i new
120 sed '/start\-sanitize\-life/,/end-\sanitize\-life/d' < $i > new
121 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
122 mv $i .Recover
123 fi
124 mv new $i
125 fi
126 done
127 fi
128
129 for i in * ; do
130 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
131 echo Some mentions of Sanitize are still left in $i!
132 fi
133 done
134
135 # eof
This page took 0.031663 seconds and 4 git commands to generate.