Revert change making writing the archive map the standard. Instead, change
[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
701df845 51etc
17519312 52expect
49df2308 53flex
a93b3c77 54gas
ebec4684
RP
55gcc
56gdb
f3d3d2cd 57gdbm
e72c4b3a 58gdbtest
f7f4df6a 59glob
9a14a29d 60gprof
5781b1ba 61grep
a93b3c77 62include
d77c6b93 63install.texinfo
2dbd15d2 64ispell
ebec4684 65ld
0862386b 66libg++
e72c4b3a
RP
67libgcc
68libiberty
cdabe523 69make
d592622a 70mmalloc
e72c4b3a 71move-if-change
6ae8fff5 72newlib
aa06ff7e 73opcodes
57d32184 74patch
d42563da 75prms
3c8735af 76rcs
a93b3c77 77readline
e72c4b3a 78send_pr
95a3881d 79standards.texi
17519312 80tcl
c9b36b5f 81test-build.mk
d239963b 82texinfo
14bed8ee 83tgas
6cfbcc45 84z8ksim
a93b3c77 85
43e36dd2
RP
86# The lines between the "Do-last:" line and the end of the file
87# are executed as a /bin/sh shell script after everything else is
88# done.
89
a93b3c77
RP
90Do-last:
91
eebff21c
JG
92echo Looking for signs of \"v9\"...
93
94# Don't try to clean directories here, as the 'mv' command will fail.
95# Also, grep fails on NFS mounted directories.
96if ( echo $* | grep keep\-v9 > /dev/null ) ; then
97 for i in * ; do
98 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
99 echo Keeping v9 stuff in $i
100 fi
101 done
102else
103 for i in * ; do
104 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
105 echo Cleaning the \"v9\" out of $i...
e00efef1 106 cp $i new
eebff21c
JG
107 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
108 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
109 mv $i .Recover
110 fi
111 mv new $i
eebff21c
JG
112 fi
113 done
114fi
115
e11b54be
PB
116for i in * ; do
117 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
118 echo Some mentions of Sanitize are still left in $i!
119 fi
120done
57d32184
RP
121
122# eof
This page took 0.064198 seconds and 4 git commands to generate.