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 SS |
18 | if ( 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 | |
23 | fi | |
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 | ||
31 | Things-to-keep: | |
32 | ||
33 | .gdbinit | |
eee109cd | 34 | CONTRIBUTORS |
d4d5412d RP |
35 | COPYING |
36 | ChangeLog | |
003acb2d | 37 | ChangeLog.v9 |
d4d5412d | 38 | Makefile.in |
eee109cd | 39 | NEWS |
d4d5412d RP |
40 | NOTES |
41 | NOTES.config | |
42 | README | |
920babce | 43 | README-quirks |
eee109cd | 44 | README-vms |
d4d5412d RP |
45 | README.coff |
46 | README.rich | |
47 | app.c | |
48 | as.c | |
49 | as.h | |
50 | atof-generic.c | |
d4d5412d RP |
51 | bignum-copy.c |
52 | bignum.h | |
eee109cd | 53 | bit_fix.h |
d4d5412d RP |
54 | cond.c |
55 | config | |
003acb2d | 56 | config-gas.com |
c593cf41 | 57 | configure.bat |
d4d5412d RP |
58 | configure.in |
59 | debug.c | |
a262a1b2 | 60 | doc |
9faec336 ILT |
61 | ecoff.c |
62 | ecoff.h | |
d4d5412d RP |
63 | expr.c |
64 | expr.h | |
d4d5412d | 65 | flonum-copy.c |
eee109cd | 66 | flonum-konst.c |
d4d5412d RP |
67 | flonum-mult.c |
68 | flonum.h | |
69 | frags.c | |
70 | frags.h | |
71 | hash.c | |
72 | hash.h | |
73 | hex-value.c | |
74 | input-file.c | |
75 | input-file.h | |
76 | input-scrub.c | |
920babce | 77 | link.cmd |
d7d28d22 RP |
78 | listing.c |
79 | listing.h | |
d4d5412d RP |
80 | make-gas.com |
81 | messages.c | |
82 | obj.h | |
d4d5412d RP |
83 | output-file.c |
84 | output-file.h | |
85 | read.c | |
86 | read.h | |
29249b42 | 87 | stabs.c |
d4d5412d RP |
88 | struc-symbol.h |
89 | subsegs.c | |
90 | subsegs.h | |
91 | symbols.c | |
92 | symbols.h | |
93 | tc.h | |
f70a4714 | 94 | testsuite |
d4d5412d RP |
95 | write.c |
96 | write.h | |
97 | xmalloc.c | |
d4d5412d | 98 | |
87756e15 RP |
99 | Things-to-lose: |
100 | ||
d4d5412d RP |
101 | Do-last: |
102 | ||
003acb2d | 103 | if ( 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 | 108 | else |
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 |
125 | fi |
126 | ||
d4d5412d RP |
127 | |
128 | # | |
d4d5412d | 129 | # End of file. |