add z8ksim
[deliverable/binutils-gdb.git] / .Sanitize
CommitLineData
43e36dd2 1# .Sanitize for devo.
a93b3c77
RP
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
43e36dd2 14# done in this directory.
a93b3c77
RP
15
16Do-first:
17
a93b3c77 18# All files listed between the "Things-to-keep:" line and the
43e36dd2 19# "Do-last:" line will be kept. All other files will be removed.
a93b3c77
RP
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
24Things-to-keep:
25
c9b36b5f 26.cvsignore
6e37b215
PB
27COPYING
28COPYING.LIB
6227a92b 29CYGNUS
57d32184 30ChangeLog
d77c6b93 31INSTALL
a93b3c77 32Makefile.in
965a9f14 33README
d77c6b93 34SUPPORTED
28f760d3 35autoconf
d5eb68fa 36bfd
ebec4684 37binutils
6a2d7603 38byacc
7d283cc1 39cfg-paper.texi
a93b3c77 40config
db2de419 41config.sub
a93b3c77 42configure
e72c4b3a 43configure.bat
a93b3c77 44configure.in
38c8a27e 45configure.man
b8bb8de3 46configure.texi
cdabe523 47cvs
8ec1b2a1 48deja-gnu
5781b1ba 49diff
cdabe523 50emacs
17519312 51expect
49df2308 52flex
a93b3c77 53gas
ebec4684
RP
54gcc
55gdb
f3d3d2cd 56gdbm
e72c4b3a 57gdbtest
f7f4df6a 58glob
9a14a29d 59gprof
5781b1ba 60grep
a93b3c77 61include
d77c6b93 62install.texinfo
2dbd15d2 63ispell
ebec4684 64ld
0862386b 65libg++
e72c4b3a
RP
66libgcc
67libiberty
cdabe523 68make
d592622a 69mmalloc
e72c4b3a 70move-if-change
6ae8fff5 71newlib
aa06ff7e 72opcodes
57d32184 73patch
d42563da 74prms
3c8735af 75rcs
a93b3c77 76readline
e72c4b3a 77send_pr
95a3881d 78standards.texi
17519312 79tcl
c9b36b5f 80test-build.mk
d239963b 81texinfo
14bed8ee 82tgas
6cfbcc45 83z8ksim
a93b3c77 84
43e36dd2
RP
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
a93b3c77
RP
89Do-last:
90
eebff21c
JG
91echo 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.
95if ( 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
101else
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...
e00efef1 105 cp $i new
eebff21c
JG
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
eebff21c
JG
111 fi
112 done
113fi
114
e11b54be
PB
115for 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
119done
57d32184
RP
120
121# eof
This page took 0.062865 seconds and 4 git commands to generate.