a belated reflection of changed MPW files
[deliverable/binutils-gdb.git] / gas / .Sanitize
1 # .Sanitize for devo/gas
2
3 # Each directory to survive its 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
14 # done in this
15
16 Do-first:
17
18 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
19 keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
20 else
21 lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
22 fi
23
24 if ( echo $* | grep keep\-gm > /dev/null ) ; then
25 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
26 else
27 lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
28 fi
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
36 Things-to-keep:
37
38 .gdbinit
39 CONTRIBUTORS
40 COPYING
41 ChangeLog
42 ChangeLog.v9
43 Makefile.in
44 NEWS
45 NOTES
46 NOTES.config
47 README
48 README-quirks
49 README-vms
50 README.coff
51 README.rich
52 app.c
53 as.c
54 as.h
55 atof-generic.c
56 bignum-copy.c
57 bignum.h
58 bit_fix.h
59 cond.c
60 config
61 config-gas.com
62 configure.bat
63 configure.in
64 debug.c
65 doc
66 ecoff.c
67 ecoff.h
68 expr.c
69 expr.h
70 flonum-copy.c
71 flonum-konst.c
72 flonum-mult.c
73 flonum.h
74 frags.c
75 frags.h
76 gasp.c
77 hash.c
78 hash.h
79 hex-value.c
80 input-file.c
81 input-file.h
82 input-scrub.c
83 link.cmd
84 listing.c
85 listing.h
86 literal.c
87 make-gas.com
88 messages.c
89 obj.h
90 output-file.c
91 output-file.h
92 read.c
93 read.h
94 stabs.c
95 struc-symbol.h
96 subsegs.c
97 subsegs.h
98 symbols.c
99 symbols.h
100 tc.h
101 testsuite
102 write.c
103 write.h
104 xmalloc.c
105
106 Things-to-lose:
107
108 Do-last:
109
110 if ( echo $* | grep keep-v9 > /dev/null ) ; then
111 if [ -n "${verbose}" ] ; then
112 echo Keeping `pwd`/ChangeLog.v9.
113 echo Keeping v9 code in `pwd`/configure.in.
114 fi
115 else
116 if [ -n "${verbose}" ] ; then
117 echo Removing `pwd`/ChangeLog.v9
118 fi
119 if [ -n "${safe}" ] ; then
120 mv ChangeLog.v9 .Recover
121 else
122 rm ChangeLog.v9
123 fi
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
132 fi
133
134
135 #
136 # End of file.
This page took 0.032953 seconds and 5 git commands to generate.