Safely check in r16 targets for binutils.
[deliverable/binutils-gdb.git] / gas / .Sanitize
CommitLineData
a6148eeb 1# .Sanitize for devo/gas.
d4d5412d 2
4f5d16c7 3# Each directory to survive its way into a release will need a file
d4d5412d
RP
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
a6148eeb 14# done in this directory.
d4d5412d
RP
15
16Do-first:
17
4f5d16c7 18if ( echo $* | grep keep\-mpw > /dev/null ) ; then
623d4854 19 keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
2a79b202 20else
623d4854 21 lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
2a79b202
SS
22fi
23
d4d5412d
RP
24# All files listed between the "Things-to-keep:" line and the
25# "Files-to-sed:" line will be kept. All other files will be removed.
26# Directories listed in this section will have their own Sanitize
27# called. Directories not listed will be removed in their entirety
28# with rm -rf.
29
30Things-to-keep:
31
eee109cd 32CONTRIBUTORS
d4d5412d
RP
33COPYING
34ChangeLog
35Makefile.in
eee109cd 36NEWS
d4d5412d
RP
37NOTES
38NOTES.config
39README
920babce 40README-quirks
eee109cd 41README-vms
d4d5412d
RP
42README.coff
43README.rich
6e71a03b
KR
44acconfig.h
45aclocal.m4
d4d5412d
RP
46app.c
47as.c
48as.h
49atof-generic.c
d4d5412d
RP
50bignum-copy.c
51bignum.h
eee109cd 52bit_fix.h
d4d5412d 53cond.c
6e71a03b 54conf.in
d4d5412d 55config
003acb2d 56config-gas.com
6e71a03b 57configure
c593cf41 58configure.bat
d4d5412d
RP
59configure.in
60debug.c
a262a1b2 61doc
9faec336
ILT
62ecoff.c
63ecoff.h
d4d5412d
RP
64expr.c
65expr.h
d4d5412d 66flonum-copy.c
eee109cd 67flonum-konst.c
d4d5412d
RP
68flonum-mult.c
69flonum.h
70frags.c
71frags.h
a5a4b5ac 72gasp.c
aa4f6c56 73gdbinit.in
d4d5412d
RP
74hash.c
75hash.h
76hex-value.c
77input-file.c
78input-file.h
79input-scrub.c
920babce 80link.cmd
d7d28d22
RP
81listing.c
82listing.h
2d29d89d 83literal.c
d4d5412d
RP
84messages.c
85obj.h
d4d5412d
RP
86output-file.c
87output-file.h
88read.c
89read.h
29249b42 90stabs.c
d4d5412d
RP
91struc-symbol.h
92subsegs.c
93subsegs.h
94symbols.c
95symbols.h
96tc.h
f70a4714 97testsuite
be2fc7ec 98vmsconf.sh
d4d5412d
RP
99write.c
100write.h
101xmalloc.c
d4d5412d 102
87756e15
RP
103Things-to-lose:
104
d4d5412d
RP
105Do-last:
106
10db66ec
KR
107i960xl_files=ChangeLog
108if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
109 if [ -n "${verbose}" ] ; then
110 echo Keeping i960xl stuff in $i960xl_files.
111 fi
112else
113 if [ -n "${verbose}" ]; then
114 echo -n Cleaning i960xl in `pwd`:
115 fi
116 for f in $i960xl_files ; do
117 if [ -n "${verbose}" ] ; then
118 echo -n " " $f
119 fi
120 sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
121 if [ -n "${safe}" ] ; then
122 mv $f .Recover
123 fi
124 mv new $f
125 done
126fi
127
d4d5412d 128#
d4d5412d 129# End of file.
This page took 0.121378 seconds and 4 git commands to generate.