Commit | Line | Data |
---|---|---|
08df3284 SS |
1 | # .Sanitize for devo/gdb/config. |
2 | ||
3 | # Each directory to survive its way into a release will need a file | |
2d797c08 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 | |
08df3284 | 14 | # done in this directory. |
2d797c08 RP |
15 | |
16 | Do-first: | |
17 | ||
46c755d4 FF |
18 | tic80_files="tic80" |
19 | ||
20 | if ( echo $* | grep keep\-tic80 > /dev/null ) ; then | |
21 | keep_these_too="${tic80_files} ${keep_these_too}" | |
22 | if [ -n "${verbose}" ] ; then | |
23 | echo Keeping ${tic80_files} | |
24 | fi | |
25 | else | |
26 | lose_these_too="${tic80_files} ${lose_these_too}" | |
27 | if [ -n "${verbose}" ] ; then | |
28 | echo Deleting ${tic80_files} | |
29 | fi | |
30 | fi | |
31 | ||
4d5d36f0 SG |
32 | d30v_files="d30v" |
33 | ||
34 | if ( echo $* | grep keep\-d30v > /dev/null ) ; then | |
35 | keep_these_too="${d30v_files} ${keep_these_too}" | |
36 | if [ -n "${verbose}" ] ; then | |
37 | echo Keeping ${d30v_files} | |
38 | fi | |
39 | else | |
40 | lose_these_too="${d30v_files} ${lose_these_too}" | |
41 | if [ -n "${verbose}" ] ; then | |
42 | echo Deleting ${d30v_files} | |
43 | fi | |
44 | fi | |
45 | ||
2d797c08 RP |
46 | # All files listed between the "Things-to-keep:" line and the |
47 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
48 | # Directories listed in this section will have their own Sanitize | |
49 | # called. Directories not listed will be removed in their entirety | |
50 | # with rm -rf. | |
51 | ||
52 | Things-to-keep: | |
53 | ||
034ac992 | 54 | a29k |
3a91417c | 55 | alpha |
c58dbe95 | 56 | arc |
034ac992 FF |
57 | arm |
58 | convex | |
a3c5b9a4 | 59 | d10v |
034ac992 FF |
60 | gould |
61 | h8300 | |
62 | h8500 | |
63 | i386 | |
034ac992 | 64 | i960 |
038e48cf | 65 | m32r |
034ac992 FF |
66 | m68k |
67 | m88k | |
68 | mips | |
e385d6e0 | 69 | mn10200 |
021b78fb | 70 | mn10300 |
a6aa45a6 | 71 | nm-empty.h |
ce0787ef | 72 | nm-gnu.h |
92d47a66 | 73 | nm-lynx.h |
c2d751d5 | 74 | nm-m3.h |
84f652b1 | 75 | nm-nbsd.h |
034ac992 | 76 | nm-sysv4.h |
034ac992 FF |
77 | none |
78 | ns32k | |
79 | pa | |
b28c019d | 80 | powerpc |
034ac992 FF |
81 | pyr |
82 | romp | |
83 | rs6000 | |
9faacb92 | 84 | sh |
034ac992 FF |
85 | sparc |
86 | tahoe | |
92d47a66 | 87 | tm-lynx.h |
46cf56fa | 88 | tm-nbsd.h |
034ac992 FF |
89 | tm-sunos.h |
90 | tm-sysv4.h | |
91 | vax | |
47819b72 | 92 | v850 |
e4ee6fb7 | 93 | xm-aix4.h |
00bac334 | 94 | xm-lynx.h |
276703d4 | 95 | xm-mpw.h |
74d319e0 | 96 | xm-nbsd.h |
034ac992 | 97 | xm-sysv4.h |
d723ade7 | 98 | w65 |
034ac992 FF |
99 | z8k |
100 | ||
87756e15 RP |
101 | Things-to-lose: |
102 | ||
2d797c08 RP |
103 | Do-last: |
104 | ||
2d797c08 | 105 | # End of file. |