Commit | Line | Data |
---|---|---|
e33bfde7 | 1 | # .Sanitize for devo/gas/testsuite/gas |
f70a4714 | 2 | |
e33bfde7 | 3 | # Each directory to survive its way into a release will need a file |
f70a4714 KR |
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 | |
e33bfde7 | 14 | # done in this directory. |
f70a4714 KR |
15 | |
16 | Do-first: | |
17 | ||
6438209c KR |
18 | for d in gasp i386-bsd ieee.fp mn10x00 ; do |
19 | if [ -d $d ]; then | |
20 | lose_these_too="$d ${lose_these_too}" | |
21 | fi | |
22 | done | |
23 | ||
ba35784c FF |
24 | if ( echo $* | grep keep\-tic80 > /dev/null ) ; then |
25 | keep_these_too="tic80 ${keep_these_too}" | |
26 | else | |
27 | lose_these_too="tic80 ${lose_these_too}" | |
28 | fi | |
29 | ||
947ef401 | 30 | if ( echo $* | grep keep\-sky > /dev/null ) ; then |
0f1ec0f9 | 31 | keep_these_too="dvp ${keep_these_too}" |
947ef401 | 32 | else |
0f1ec0f9 | 33 | lose_these_too="dvp ${lose_these_too}" |
947ef401 DE |
34 | fi |
35 | ||
f70a4714 | 36 | # All files listed between the "Things-to-keep:" line and the |
e33bfde7 | 37 | # "Do-last:" line will be kept. All other files will be removed. |
f70a4714 KR |
38 | # Directories listed in this section will have their own Sanitize |
39 | # called. Directories not listed will be removed in their entirety | |
40 | # with rm -rf. | |
41 | ||
42 | Things-to-keep: | |
43 | ||
6bf74aa6 | 44 | all |
3eacff17 | 45 | alpha |
3ffb03b1 | 46 | arc |
f661ed29 | 47 | arm |
cc88a106 | 48 | d30v |
e5e95c7d | 49 | fr30 |
e1affd58 | 50 | h8300 |
fae89ef0 | 51 | hppa |
2989a84e | 52 | i386 |
d2ccfce3 | 53 | ieee-fp |
a7d373e5 | 54 | m32r |
6bf74aa6 KR |
55 | m68k |
56 | m68k-coff | |
a7b2f95a | 57 | m88k |
96dbd10d | 58 | macros |
5fe67aa8 | 59 | mips |
ae1b99e4 JL |
60 | mn10200 |
61 | mn10300 | |
9c92373a | 62 | mri |
36fb0b86 | 63 | ppc |
a61bc32c | 64 | sh |
375b983b | 65 | sparc |
6bf74aa6 | 66 | sparc-solaris |
49647ad5 | 67 | sun4 |
6bf74aa6 | 68 | template |
8f3c5ddb | 69 | v850 |
042af364 | 70 | vtable |
ca82f2cd | 71 | vax |
f70a4714 | 72 | |
87756e15 RP |
73 | Things-to-lose: |
74 | ||
e33bfde7 ILT |
75 | # The lines between the "Do-last:" line and the end of the file |
76 | # are executed as a /bin/sh shell script after everything else is | |
77 | # done. | |
78 | ||
f70a4714 KR |
79 | Do-last: |
80 | ||
e33bfde7 | 81 | # eof |