changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)
[deliverable/binutils-gdb.git] / gas / .Sanitize
CommitLineData
4f5d16c7 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
14# done in this
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
24if ( echo $* | grep keep\-gm > /dev/null ) ; then
25 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
26else
27 lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
4f5d16c7 28fi
d4d5412d
RP
29
30# All files listed between the "Things-to-keep:" line and the
31# "Files-to-sed:" line will be kept. All other files will be removed.
32# Directories listed in this section will have their own Sanitize
33# called. Directories not listed will be removed in their entirety
34# with rm -rf.
35
36Things-to-keep:
37
38.gdbinit
eee109cd 39CONTRIBUTORS
d4d5412d
RP
40COPYING
41ChangeLog
003acb2d 42ChangeLog.v9
d4d5412d 43Makefile.in
eee109cd 44NEWS
d4d5412d
RP
45NOTES
46NOTES.config
47README
920babce 48README-quirks
eee109cd 49README-vms
d4d5412d
RP
50README.coff
51README.rich
52app.c
53as.c
54as.h
55atof-generic.c
d4d5412d
RP
56bignum-copy.c
57bignum.h
eee109cd 58bit_fix.h
d4d5412d
RP
59cond.c
60config
003acb2d 61config-gas.com
c593cf41 62configure.bat
d4d5412d
RP
63configure.in
64debug.c
a262a1b2 65doc
9faec336
ILT
66ecoff.c
67ecoff.h
d4d5412d
RP
68expr.c
69expr.h
d4d5412d 70flonum-copy.c
eee109cd 71flonum-konst.c
d4d5412d
RP
72flonum-mult.c
73flonum.h
74frags.c
75frags.h
a5a4b5ac 76gasp.c
d4d5412d
RP
77hash.c
78hash.h
79hex-value.c
80input-file.c
81input-file.h
82input-scrub.c
920babce 83link.cmd
d7d28d22
RP
84listing.c
85listing.h
2d29d89d 86literal.c
d4d5412d
RP
87make-gas.com
88messages.c
89obj.h
d4d5412d
RP
90output-file.c
91output-file.h
92read.c
93read.h
29249b42 94stabs.c
d4d5412d
RP
95struc-symbol.h
96subsegs.c
97subsegs.h
98symbols.c
99symbols.h
100tc.h
f70a4714 101testsuite
be2fc7ec 102vmsconf.sh
d4d5412d
RP
103write.c
104write.h
105xmalloc.c
d4d5412d 106
87756e15
RP
107Things-to-lose:
108
d4d5412d
RP
109Do-last:
110
003acb2d 111if ( echo $* | grep keep-v9 > /dev/null ) ; then
b15fb2ae
KR
112 if [ -n "${verbose}" ] ; then
113 echo Keeping `pwd`/ChangeLog.v9.
114 echo Keeping v9 code in `pwd`/configure.in.
115 fi
003acb2d 116else
b15fb2ae
KR
117 if [ -n "${verbose}" ] ; then
118 echo Removing `pwd`/ChangeLog.v9
119 fi
003acb2d
KR
120 if [ -n "${safe}" ] ; then
121 mv ChangeLog.v9 .Recover
122 else
123 rm ChangeLog.v9
124 fi
b15fb2ae
KR
125 if [ -n "${verbose}" ] ; then
126 echo Cleaning v9 code from `pwd`/configure.in.
127 fi
128 grep -v v9 < configure.in > new
129 if [ -n "${safe}" ]; then
130 mv configure.in .Recover
131 fi
132 mv -f new configure.in
003acb2d
KR
133fi
134
d4d5412d
RP
135
136#
d4d5412d 137# End of file.
This page took 0.112927 seconds and 4 git commands to generate.