]>
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 | |
a25e9935 | 31 | coff-h8300h.mt |
55237887 | 32 | coff-h8500.mt |
84d42ddd | 33 | coff-sh.mt |
808510fa | 34 | coff-sparc.mt |
12fa72d4 SC |
35 | delta88.mh |
36 | dgux.mh | |
12fa72d4 | 37 | ebmon29k.mt |
cf2623b0 | 38 | go32.mt |
3b5c6197 | 39 | hp300.mh |
12ad3984 | 40 | hp300bsd.mt |
c05e34de | 41 | hp300hpux.mt |
423dae05 JL |
42 | hppaelf.mh |
43 | hppaelf.mt | |
12fa72d4 | 44 | i386-aout.mt |
e637dcf0 | 45 | i386-bsd.mt |
2a9f20db | 46 | i386-coff.mt |
03451d7f | 47 | i386-elf.mt |
3b55444d | 48 | i386-linux.mt |
bd7b78f7 | 49 | i386-lynx.mt |
4fda44fe | 50 | i386-mach.mt |
0071a731 | 51 | i386bsd.mh |
75fe5471 | 52 | i386sco.mh |
63545898 | 53 | i386v.mh |
12fa72d4 | 54 | i386v.mt |
03451d7f | 55 | i386v4.mh |
3b5c6197 | 56 | i960.mt |
12ad3984 | 57 | ieee-h8300.mt |
63545898 | 58 | irix4.mh |
f5d89879 | 59 | m68k-coff.mt |
12fa72d4 | 60 | m68k.mt |
bd7b78f7 | 61 | m68k-lynx.mt |
12fa72d4 SC |
62 | m68kv.mt |
63 | m88k-bcs.mt | |
e637dcf0 | 64 | mipsbsd.mt |
31965c32 | 65 | mips-big.mt |
ce7d4b0d | 66 | mips-idt.mt |
98f3d1af | 67 | mips-idtl.mt |
42b5c739 | 68 | mips-lit.mt |
514977a5 | 69 | mipsb-elf32.mt |
12fa72d4 | 70 | news.mt |
afba2b22 | 71 | ose68.mt |
c361ce46 | 72 | ppc-elf32.mt |
12ad3984 DHW |
73 | rtbsd.mh |
74 | sa29200.mt | |
15fff00f | 75 | solaris2.mh |
96593d4b | 76 | sparc64-elf.mt |
12ad3984 | 77 | sparc-ll.mh |
278d569a | 78 | sparc-lynx.mt |
12ad3984 DHW |
79 | st2000.mt |
80 | sun3.mh | |
12fa72d4 SC |
81 | sun3.mt |
82 | sun4.mt | |
96593d4b | 83 | sun4sol2.mt |
9a3293b1 | 84 | vax.mt |
de9425a8 | 85 | vsta.mt |
12fa72d4 | 86 | vxworks68.mt |
ac0832f3 | 87 | z8ksim.mt |
3b5c6197 | 88 | |
87756e15 RP |
89 | Things-to-lose: |
90 | ||
3b5c6197 DZ |
91 | # The lines between the "Do-last:" line and the end of the file |
92 | # are executed as a /bin/sh shell script after everything else is | |
93 | # done. | |
94 | ||
86e4d6e4 RP |
95 | Do-last: |
96 | ||
96593d4b KR |
97 | if ( echo $* | grep keep-v9 > /dev/null ) ; then |
98 | if [ -n "${verbose}" ] ; then | |
99 | echo Keeping `pwd`/sparc64-elf.mt. | |
100 | fi | |
101 | else | |
102 | if [ -n "${verbose}" ] ; then | |
103 | echo Removing `pwd`/sparc64-elf.mt. | |
104 | fi | |
105 | if [ -n "${safe}" ] ; then | |
106 | mv sparc64-elf.mt .Recover | |
107 | else | |
108 | rm sparc64-elf.mt | |
109 | fi | |
110 | fi |