Commit | Line | Data |
---|---|---|
f70a4714 KR |
1 | # Sanitize.in for devo. |
2 | # $Id$ | |
3 | # | |
4 | ||
5 | # Each directory to survive it's way into a release will need a file | |
6 | # like this one called "./.Sanitize". All keyword lines must exist, | |
7 | # and must exist in the order specified by this file. Each directory | |
8 | # in the tree will be processed, top down, in the following order. | |
9 | ||
10 | # Hash started lines like this one are comments and will be deleted | |
11 | # before anything else is done. Blank lines will also be squashed | |
12 | # out. | |
13 | ||
14 | # The lines between the "Do-first:" line and the "Things-to-keep:" | |
15 | # line are executed as a /bin/sh shell script before anything else is | |
16 | # done in this | |
17 | ||
18 | Do-first: | |
19 | ||
6438209c KR |
20 | for d in gasp i386-bsd ieee.fp mn10x00 ; do |
21 | if [ -d $d ]; then | |
22 | lose_these_too="$d ${lose_these_too}" | |
23 | fi | |
24 | done | |
25 | ||
ba35784c FF |
26 | if ( echo $* | grep keep\-tic80 > /dev/null ) ; then |
27 | keep_these_too="tic80 ${keep_these_too}" | |
28 | else | |
29 | lose_these_too="tic80 ${lose_these_too}" | |
30 | fi | |
31 | ||
947ef401 | 32 | if ( echo $* | grep keep\-sky > /dev/null ) ; then |
0f1ec0f9 | 33 | keep_these_too="dvp ${keep_these_too}" |
947ef401 | 34 | else |
0f1ec0f9 | 35 | lose_these_too="dvp ${lose_these_too}" |
947ef401 DE |
36 | fi |
37 | ||
9a18fe60 MH |
38 | if ( echo $* | grep keep\-d30v > /dev/null ) ; then |
39 | keep_these_too="d30v ${keep_these_too}" | |
40 | else | |
41 | lose_these_too="d30v ${lose_these_too}" | |
42 | fi | |
43 | ||
f70a4714 KR |
44 | # All files listed between the "Things-to-keep:" line and the |
45 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
46 | # Directories listed in this section will have their own Sanitize | |
47 | # called. Directories not listed will be removed in their entirety | |
48 | # with rm -rf. | |
49 | ||
50 | Things-to-keep: | |
51 | ||
6bf74aa6 | 52 | all |
3eacff17 | 53 | alpha |
3ffb03b1 | 54 | arc |
f661ed29 | 55 | arm |
e1affd58 | 56 | h8300 |
fae89ef0 | 57 | hppa |
2989a84e | 58 | i386 |
d2ccfce3 | 59 | ieee-fp |
a7d373e5 | 60 | m32r |
6bf74aa6 KR |
61 | m68k |
62 | m68k-coff | |
a7b2f95a | 63 | m88k |
96dbd10d | 64 | macros |
5fe67aa8 | 65 | mips |
ae1b99e4 JL |
66 | mn10200 |
67 | mn10300 | |
9c92373a | 68 | mri |
a61bc32c | 69 | sh |
375b983b | 70 | sparc |
6bf74aa6 | 71 | sparc-solaris |
49647ad5 | 72 | sun4 |
6bf74aa6 | 73 | template |
8f3c5ddb | 74 | v850 |
ca82f2cd | 75 | vax |
f70a4714 | 76 | |
87756e15 RP |
77 | Things-to-lose: |
78 | ||
f70a4714 KR |
79 | Do-last: |
80 | ||
81 | # End of file. |