For SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX.
[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 .cvsignore
27 COPYING
28 COPYING.LIB
29 CYGNUS
30 ChangeLog
31 INSTALL
32 Makefile.in
33 README
34 SUPPORTED
35 autoconf
36 bfd
37 binutils
38 byacc
39 cfg-paper.texi
40 config
41 config.sub
42 configure
43 configure.bat
44 configure.in
45 configure.man
46 configure.texi
47 cvs
48 deja-gnu
49 diff
50 emacs
51 expect
52 flex
53 gas
54 gcc
55 gdb
56 gdbm
57 gdbtest
58 glob
59 gprof
60 grep
61 include
62 install.texinfo
63 ispell
64 ld
65 libg++
66 libgcc
67 libiberty
68 make
69 mmalloc
70 move-if-change
71 newlib
72 opcodes
73 patch
74 prms
75 rcs
76 readline
77 send_pr
78 standards.texi
79 tcl
80 test-build.mk
81 texinfo
82 tgas
83 z8ksim
84
85 # The lines between the "Do-last:" line and the end of the file
86 # are executed as a /bin/sh shell script after everything else is
87 # done.
88
89 Do-last:
90
91 echo Looking for signs of \"v9\"...
92
93 # Don't try to clean directories here, as the 'mv' command will fail.
94 # Also, grep fails on NFS mounted directories.
95 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
96 for i in * ; do
97 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
98 echo Keeping v9 stuff in $i
99 fi
100 done
101 else
102 for i in * ; do
103 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
104 echo Cleaning the \"v9\" out of $i...
105 cp $i new
106 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
107 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
108 mv $i .Recover
109 fi
110 mv new $i
111 fi
112 done
113 fi
114
115 for i in * ; do
116 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
117 echo Some mentions of Sanitize are still left in $i!
118 fi
119 done
120
121 # eof
This page took 0.032157 seconds and 4 git commands to generate.