]>
Commit | Line | Data |
---|---|---|
8ddef552 DM |
1 | # .Sanitize for devo/ld/config |
2 | ||
3 | # Each directory to survive its way into a release will need a file | |
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 | |
14 | # done in this directory. | |
15 | ||
16 | Do-first: | |
17 | ||
18 | ||
19 | # All files listed between the "Things-to-keep:" line and the | |
20 | # "Do-last:" line will be kept. All other files will be removed. | |
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: | |
26 | ||
27 | README | |
28 | a29k.sh | |
42f9673d | 29 | alpha.sh |
8ddef552 | 30 | ebmon29k.sh |
7ff42880 KR |
31 | elf32_sparc.sh |
32 | elf64_sparc.sh | |
f1d043f5 | 33 | elf32mipb.sh |
03451d7f | 34 | elf_i386.sh |
8ddef552 DM |
35 | gld960.sh |
36 | go32.sh | |
37 | h8300.sh | |
8f207409 | 38 | h8300h.sh |
8ddef552 DM |
39 | h8500.sh |
40 | hp300bsd.sh | |
41 | hp3hpux.sh | |
42 | hppaosf.sh | |
43 | i386aout.sh | |
44 | i386bsd.sh | |
45 | i386coff.sh | |
7ff42880 | 46 | i386linux.sh |
bd7b78f7 | 47 | i386lynx.sh |
46cc3ed1 | 48 | i386mach.sh |
8ddef552 DM |
49 | lnk960.sh |
50 | m68kcoff.sh | |
bd7b78f7 | 51 | m68klynx.sh |
8ddef552 DM |
52 | m88kbcs.sh |
53 | mipsbig.sh | |
54 | mipsbsd.sh | |
55 | mipsidt.sh | |
56 | mipsidtl.sh | |
57 | mipslit.sh | |
58 | news.sh | |
59 | sa29200.sh | |
60 | sh.sh | |
61 | st2000.sh | |
62 | sun3.sh | |
63 | sun4.sh | |
64 | vanilla.sh | |
65 | vax.sh | |
66 | z8ksim.sh | |
67 | ||
68 | Things-to-lose: | |
69 | ||
70 | # The lines between the "Do-last:" line and the end of the file | |
71 | # are executed as a /bin/sh shell script after everything else is | |
72 | # done. | |
73 | ||
74 | Do-last: | |
75 | ||
e900b30c KR |
76 | if ( echo $* | grep keep-v9 > /dev/null ) ; then |
77 | if [ -n "${verbose}" ] ; then | |
7ff42880 | 78 | echo Keeping `pwd`/elf64_sparc.sh. |
e900b30c KR |
79 | fi |
80 | else | |
81 | if [ -n "${verbose}" ] ; then | |
7ff42880 | 82 | echo Removing `pwd`/elf64_sparc.sh. |
e900b30c KR |
83 | fi |
84 | if [ -n "${safe}" ] ; then | |
7ff42880 | 85 | mv elf64_sparc.sh .Recover |
e900b30c | 86 | else |
7ff42880 | 87 | rm elf64_sparc.sh |
e900b30c KR |
88 | fi |
89 | fi | |
90 |