]>
Commit | Line | Data |
---|---|---|
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 | ||
16 | Do-first: | |
17 | ||
4f5d16c7 | 18 | if ( echo $* | grep keep\-mpw > /dev/null ) ; then |
623d4854 | 19 | keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw" |
2a79b202 | 20 | else |
623d4854 | 21 | lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw" |
2a79b202 SS |
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}" | |
4f5d16c7 | 28 | fi |
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 | ||
36 | Things-to-keep: | |
37 | ||
38 | .gdbinit | |
eee109cd | 39 | CONTRIBUTORS |
d4d5412d RP |
40 | COPYING |
41 | ChangeLog | |
003acb2d | 42 | ChangeLog.v9 |
d4d5412d | 43 | Makefile.in |
eee109cd | 44 | NEWS |
d4d5412d RP |
45 | NOTES |
46 | NOTES.config | |
47 | README | |
920babce | 48 | README-quirks |
eee109cd | 49 | README-vms |
d4d5412d RP |
50 | README.coff |
51 | README.rich | |
52 | app.c | |
53 | as.c | |
54 | as.h | |
55 | atof-generic.c | |
d4d5412d RP |
56 | bignum-copy.c |
57 | bignum.h | |
eee109cd | 58 | bit_fix.h |
d4d5412d RP |
59 | cond.c |
60 | config | |
003acb2d | 61 | config-gas.com |
c593cf41 | 62 | configure.bat |
d4d5412d RP |
63 | configure.in |
64 | debug.c | |
a262a1b2 | 65 | doc |
9faec336 ILT |
66 | ecoff.c |
67 | ecoff.h | |
d4d5412d RP |
68 | expr.c |
69 | expr.h | |
d4d5412d | 70 | flonum-copy.c |
eee109cd | 71 | flonum-konst.c |
d4d5412d RP |
72 | flonum-mult.c |
73 | flonum.h | |
74 | frags.c | |
75 | frags.h | |
a5a4b5ac | 76 | gasp.c |
d4d5412d RP |
77 | hash.c |
78 | hash.h | |
79 | hex-value.c | |
80 | input-file.c | |
81 | input-file.h | |
82 | input-scrub.c | |
920babce | 83 | link.cmd |
d7d28d22 RP |
84 | listing.c |
85 | listing.h | |
2d29d89d | 86 | literal.c |
d4d5412d RP |
87 | make-gas.com |
88 | messages.c | |
89 | obj.h | |
d4d5412d RP |
90 | output-file.c |
91 | output-file.h | |
92 | read.c | |
93 | read.h | |
29249b42 | 94 | stabs.c |
d4d5412d RP |
95 | struc-symbol.h |
96 | subsegs.c | |
97 | subsegs.h | |
98 | symbols.c | |
99 | symbols.h | |
100 | tc.h | |
f70a4714 | 101 | testsuite |
be2fc7ec | 102 | vmsconf.sh |
d4d5412d RP |
103 | write.c |
104 | write.h | |
105 | xmalloc.c | |
d4d5412d | 106 | |
87756e15 RP |
107 | Things-to-lose: |
108 | ||
d4d5412d RP |
109 | Do-last: |
110 | ||
003acb2d | 111 | if ( 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 | 116 | else |
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 |
133 | fi |
134 | ||
d4d5412d RP |
135 | |
136 | # | |
d4d5412d | 137 | # End of file. |