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