Commit | Line | Data |
---|---|---|
2d797c08 RP |
1 | # Each directory to survive it's way into a release will need a file |
2 | # like this one called "./.Sanitize". All keyword lines must exist, | |
3 | # and must exist in the order specified by this file. Each directory | |
4 | # in the tree will be processed, top down, in the following order. | |
5 | ||
6 | # Hash started lines like this one are comments and will be deleted | |
7 | # before anything else is done. Blank lines will also be squashed | |
8 | # out. | |
9 | ||
10 | # The lines between the "Do-first:" line and the "Things-to-keep:" | |
11 | # line are executed as a /bin/sh shell script before anything else is | |
12 | # done in this | |
13 | ||
14 | Do-first: | |
15 | ||
2d797c08 RP |
16 | # All files listed between the "Things-to-keep:" line and the |
17 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
18 | # Directories listed in this section will have their own Sanitize | |
19 | # called. Directories not listed will be removed in their entirety | |
20 | # with rm -rf. | |
21 | ||
22 | Things-to-keep: | |
23 | ||
fe7ca711 | 24 | 3b1.mh |
fe7ca711 | 25 | 3b1.mt |
fe7ca711 | 26 | a29k-kern.mt |
92de157b | 27 | a29k-udi.mt |
ede23f3b JG |
28 | a29k.mt |
29 | altos.mh | |
fe7ca711 | 30 | altos.mt |
ede23f3b | 31 | amix.mh |
fe7ca711 | 32 | amix.mt |
3c64303a | 33 | apollo68b.mh |
ede23f3b JG |
34 | apollo68v.mh |
35 | arm.mh | |
fe7ca711 | 36 | arm.mt |
ede23f3b | 37 | bigmips.mh |
fe7ca711 | 38 | bigmips.mt |
ede23f3b | 39 | convex.mh |
fe7ca711 | 40 | convex.mt |
ede23f3b | 41 | decstation.mh |
fe7ca711 | 42 | decstation.mt |
ede23f3b | 43 | delta88.mh |
fe7ca711 | 44 | delta88.mt |
498f1df0 | 45 | es1800.mt |
4025fb37 | 46 | go32.mh |
f48dd41c | 47 | h8300hms.mt |
ede23f3b | 48 | hp300bsd.mh |
fe7ca711 | 49 | hp300bsd.mt |
ede23f3b | 50 | hp300hpux.mh |
fe7ca711 | 51 | hp300hpux.mt |
76b731f9 SG |
52 | hppabsd.mh |
53 | hppabsd.mt | |
54 | hppahpux.mh | |
55 | hppahpux.mt | |
fe7ca711 | 56 | i386aout.mt |
534c231e JG |
57 | i386bsd.mh |
58 | i386bsd.mt | |
ede23f3b JG |
59 | i386mach.mh |
60 | i386sco.mh | |
b243fc7e | 61 | i386sco4.mh |
5c820c19 JG |
62 | i386sol2.mh |
63 | i386sol2.mt | |
ede23f3b JG |
64 | i386v.mh |
65 | i386v.mt | |
ede23f3b | 66 | i386v32.mh |
ede23f3b JG |
67 | i386v4.mh |
68 | i386v4.mt | |
c2a0f1cb | 69 | idt.mt |
ede23f3b | 70 | irix3.mh |
fe7ca711 | 71 | irix3.mt |
ede23f3b JG |
72 | irix4.mh |
73 | isi.mh | |
fe7ca711 | 74 | isi.mt |
71da9fdc PB |
75 | linux.mh |
76 | linux.mt | |
ede23f3b | 77 | littlemips.mh |
fe7ca711 | 78 | littlemips.mt |
30fd8619 JG |
79 | m68k-noun.mt |
80 | m68k-un.mt | |
ede23f3b | 81 | m88k.mh |
fe7ca711 | 82 | m88k.mt |
ede23f3b | 83 | merlin.mh |
fe7ca711 | 84 | merlin.mt |
5435f927 | 85 | ncr3000.mh |
a74c9110 | 86 | ncr3000.mt |
ede23f3b | 87 | news.mh |
fe7ca711 | 88 | news.mt |
ede23f3b | 89 | news1000.mh |
fe7ca711 | 90 | nindy960.mt |
ede23f3b | 91 | none.mh |
fe7ca711 | 92 | none.mt |
ede23f3b | 93 | np1.mh |
fe7ca711 SC |
94 | np1.mt |
95 | os68k.mt | |
ede23f3b | 96 | pn.mh |
fe7ca711 | 97 | pn.mt |
ede23f3b | 98 | pyramid.mh |
fe7ca711 | 99 | pyramid.mt |
ede23f3b | 100 | rs6000.mh |
fe7ca711 | 101 | rs6000.mt |
ede23f3b | 102 | rtbsd.mh |
30fd8619 JG |
103 | sparc-noun.mt |
104 | sparc-un.mt | |
3c64303a | 105 | st2000.mt |
ede23f3b | 106 | sun2os3.mh |
fe7ca711 | 107 | sun2os3.mt |
ede23f3b | 108 | sun2os4.mh |
fe7ca711 | 109 | sun2os4.mt |
ede23f3b | 110 | sun386.mh |
fe7ca711 | 111 | sun386.mt |
ede23f3b | 112 | sun3os3.mh |
fe7ca711 | 113 | sun3os3.mt |
ede23f3b | 114 | sun3os4.mh |
fe7ca711 | 115 | sun3os4.mt |
ede23f3b | 116 | sun4os4.mh |
fe7ca711 | 117 | sun4os4.mt |
fa33785d SG |
118 | sun4sol2.mh |
119 | sun4sol2.mt | |
ede23f3b | 120 | symmetry.mh |
fe7ca711 | 121 | symmetry.mt |
ede23f3b | 122 | tahoe.mh |
fe7ca711 | 123 | tahoe.mt |
ede23f3b | 124 | ultra3.mh |
fe7ca711 | 125 | ultra3.mt |
ede23f3b | 126 | umax.mh |
fe7ca711 SC |
127 | umax.mt |
128 | vax.mt | |
ede23f3b JG |
129 | vaxbsd.mh |
130 | vaxult.mh | |
fe7ca711 SC |
131 | vxworks68.mt |
132 | vxworks960.mt | |
2d797c08 RP |
133 | |
134 | Do-last: | |
135 | ||
f48dd41c JG |
136 | echo Stimulating away the simulator... |
137 | ||
138 | if ( echo $* | grep keep\-sim > /dev/null ) ; then | |
139 | echo Keeping simulator in h8300hms.mt | |
140 | else | |
141 | for i in h8300hms.mt z8ksim.mt; do | |
142 | if test -f $i ; then | |
143 | echo Tickling the \"sim\" out of $i... | |
144 | sed -e 's| remote-sim.o .*||' \ | |
145 | -e 's| and H8 simulator||' \ | |
146 | -e 's| Z8000 simulator| Z8000|' \ | |
147 | -e 's| remote-z8k.o ../sim/z8k/libsim.a||' \ | |
148 | <$i >new | |
149 | if grep sim new ; then | |
150 | echo '***' Not funny. "Didn't work." | |
151 | else | |
152 | if [ -n "${safe}" -a ! -f .Recover/$i ] ; then | |
153 | echo Caching $i in .Recover... | |
154 | mv $i .Recover | |
155 | fi | |
156 | mv new $i | |
157 | fi | |
158 | fi | |
159 | done | |
160 | fi | |
161 | ||
2d797c08 | 162 | # End of file. |