today's changes for vms, misc bugs
[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
d4d5412d
RP
102write.c
103write.h
104xmalloc.c
d4d5412d 105
87756e15
RP
106Things-to-lose:
107
d4d5412d
RP
108Do-last:
109
003acb2d 110if ( echo $* | grep keep-v9 > /dev/null ) ; then
b15fb2ae
KR
111 if [ -n "${verbose}" ] ; then
112 echo Keeping `pwd`/ChangeLog.v9.
113 echo Keeping v9 code in `pwd`/configure.in.
114 fi
003acb2d 115else
b15fb2ae
KR
116 if [ -n "${verbose}" ] ; then
117 echo Removing `pwd`/ChangeLog.v9
118 fi
003acb2d
KR
119 if [ -n "${safe}" ] ; then
120 mv ChangeLog.v9 .Recover
121 else
122 rm ChangeLog.v9
123 fi
b15fb2ae
KR
124 if [ -n "${verbose}" ] ; then
125 echo Cleaning v9 code from `pwd`/configure.in.
126 fi
127 grep -v v9 < configure.in > new
128 if [ -n "${safe}" ]; then
129 mv configure.in .Recover
130 fi
131 mv -f new configure.in
003acb2d
KR
132fi
133
d4d5412d
RP
134
135#
d4d5412d 136# End of file.
This page took 0.10791 seconds and 4 git commands to generate.