]>
Commit | Line | Data |
---|---|---|
3b5c6197 | 1 | # .Sanitize for devo/ld/config |
86e4d6e4 | 2 | |
3b5c6197 | 3 | # Each directory to survive its way into a release will need a file |
86e4d6e4 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 | |
3b5c6197 | 14 | # done in this directory. |
86e4d6e4 RP |
15 | |
16 | Do-first: | |
17 | ||
84d42ddd | 18 | |
86e4d6e4 | 19 | # All files listed between the "Things-to-keep:" line and the |
3b5c6197 | 20 | # "Do-last:" line will be kept. All other files will be removed. |
86e4d6e4 RP |
21 | # Directories listed in this section will have their own Sanitize |
22 | # called. Directories not listed will be removed in their entirety | |
23 | # with rm -rf. | |
24 | ||
25 | Things-to-keep: | |
12ad3984 | 26 | |
42f9673d | 27 | alpha.mt |
d26de265 | 28 | alphaosf.mh |
12ad3984 DHW |
29 | coff-a29k.mt |
30 | coff-h8300.mt | |
55237887 | 31 | coff-h8500.mt |
84d42ddd | 32 | coff-sh.mt |
12fa72d4 SC |
33 | delta88.mh |
34 | dgux.mh | |
12fa72d4 | 35 | ebmon29k.mt |
cf2623b0 | 36 | go32.mt |
3b5c6197 | 37 | hp300.mh |
12ad3984 | 38 | hp300bsd.mt |
c05e34de | 39 | hp300hpux.mt |
423dae05 JL |
40 | hppaelf.mh |
41 | hppaelf.mt | |
12fa72d4 | 42 | i386-aout.mt |
e637dcf0 | 43 | i386-bsd.mt |
2a9f20db | 44 | i386-coff.mt |
03451d7f | 45 | i386-elf.mt |
3b55444d | 46 | i386-linux.mt |
bd7b78f7 | 47 | i386-lynx.mt |
4fda44fe | 48 | i386-mach.mt |
75fe5471 | 49 | i386sco.mh |
63545898 | 50 | i386v.mh |
12fa72d4 | 51 | i386v.mt |
03451d7f | 52 | i386v4.mh |
3b5c6197 | 53 | i960.mt |
12ad3984 | 54 | ieee-h8300.mt |
63545898 | 55 | irix4.mh |
f5d89879 | 56 | m68k-coff.mt |
12fa72d4 | 57 | m68k.mt |
bd7b78f7 | 58 | m68k-lynx.mt |
12fa72d4 SC |
59 | m68kv.mt |
60 | m88k-bcs.mt | |
e637dcf0 | 61 | mipsbsd.mt |
31965c32 | 62 | mips-big.mt |
ce7d4b0d | 63 | mips-idt.mt |
98f3d1af | 64 | mips-idtl.mt |
42b5c739 | 65 | mips-lit.mt |
514977a5 | 66 | mipsb-elf32.mt |
12fa72d4 | 67 | news.mt |
afba2b22 | 68 | ose68.mt |
12ad3984 DHW |
69 | rtbsd.mh |
70 | sa29200.mt | |
15fff00f | 71 | solaris2.mh |
96593d4b | 72 | sparc64-elf.mt |
12ad3984 | 73 | sparc-ll.mh |
278d569a | 74 | sparc-lynx.mt |
12ad3984 DHW |
75 | st2000.mt |
76 | sun3.mh | |
12fa72d4 SC |
77 | sun3.mt |
78 | sun4.mt | |
96593d4b | 79 | sun4sol2.mt |
9a3293b1 | 80 | vax.mt |
de9425a8 | 81 | vsta.mt |
12fa72d4 | 82 | vxworks68.mt |
ac0832f3 | 83 | z8ksim.mt |
3b5c6197 | 84 | |
87756e15 RP |
85 | Things-to-lose: |
86 | ||
3b5c6197 DZ |
87 | # The lines between the "Do-last:" line and the end of the file |
88 | # are executed as a /bin/sh shell script after everything else is | |
89 | # done. | |
90 | ||
86e4d6e4 RP |
91 | Do-last: |
92 | ||
96593d4b KR |
93 | if ( echo $* | grep keep-v9 > /dev/null ) ; then |
94 | if [ -n "${verbose}" ] ; then | |
95 | echo Keeping `pwd`/sparc64-elf.mt. | |
96 | fi | |
97 | else | |
98 | if [ -n "${verbose}" ] ; then | |
99 | echo Removing `pwd`/sparc64-elf.mt. | |
100 | fi | |
101 | if [ -n "${safe}" ] ; then | |
102 | mv sparc64-elf.mt .Recover | |
103 | else | |
104 | rm sparc64-elf.mt | |
105 | fi | |
106 | fi |