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 | ||
287026b7 AC |
32 | carp_files="carp" |
33 | ||
34 | if ( echo $* | grep keep\-carp > /dev/null ) ; then | |
35 | keep_these_too="${carp_files} ${keep_these_too}" | |
36 | if [ -n "${verbose}" ] ; then | |
37 | echo Keeping ${carp_files} | |
38 | fi | |
39 | else | |
40 | lose_these_too="${carp_files} ${lose_these_too}" | |
41 | if [ -n "${verbose}" ] ; then | |
42 | echo Deleting ${carp_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 |
2c9fd4b1 | 60 | d30v |
c4efea12 | 61 | fr30 |
034ac992 FF |
62 | gould |
63 | h8300 | |
64 | h8500 | |
65 | i386 | |
034ac992 | 66 | i960 |
038e48cf | 67 | m32r |
034ac992 FF |
68 | m68k |
69 | m88k | |
70 | mips | |
e385d6e0 | 71 | mn10200 |
021b78fb | 72 | mn10300 |
a6aa45a6 | 73 | nm-empty.h |
ce0787ef | 74 | nm-gnu.h |
92d47a66 | 75 | nm-lynx.h |
c2d751d5 | 76 | nm-m3.h |
84f652b1 | 77 | nm-nbsd.h |
034ac992 | 78 | nm-sysv4.h |
034ac992 FF |
79 | none |
80 | ns32k | |
81 | pa | |
b28c019d | 82 | powerpc |
034ac992 FF |
83 | pyr |
84 | romp | |
85 | rs6000 | |
9faacb92 | 86 | sh |
034ac992 FF |
87 | sparc |
88 | tahoe | |
92d47a66 | 89 | tm-lynx.h |
46cf56fa | 90 | tm-nbsd.h |
034ac992 FF |
91 | tm-sunos.h |
92 | tm-sysv4.h | |
93 | vax | |
47819b72 | 94 | v850 |
e4ee6fb7 | 95 | xm-aix4.h |
00bac334 | 96 | xm-lynx.h |
276703d4 | 97 | xm-mpw.h |
74d319e0 | 98 | xm-nbsd.h |
034ac992 | 99 | xm-sysv4.h |
d723ade7 | 100 | w65 |
034ac992 FF |
101 | z8k |
102 | ||
87756e15 RP |
103 | Things-to-lose: |
104 | ||
2d797c08 RP |
105 | Do-last: |
106 | ||
2d797c08 | 107 | # End of file. |