]>
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 | |
29 | ebmon29k.sh | |
7ff42880 KR |
30 | elf32_sparc.sh |
31 | elf64_sparc.sh | |
f1d043f5 | 32 | elf32mipb.sh |
03451d7f | 33 | elf_i386.sh |
8ddef552 DM |
34 | gld960.sh |
35 | go32.sh | |
36 | h8300.sh | |
8f207409 | 37 | h8300h.sh |
8ddef552 DM |
38 | h8500.sh |
39 | hp300bsd.sh | |
40 | hp3hpux.sh | |
41 | hppaosf.sh | |
42 | i386aout.sh | |
43 | i386bsd.sh | |
44 | i386coff.sh | |
7ff42880 | 45 | i386linux.sh |
bd7b78f7 | 46 | i386lynx.sh |
8ddef552 DM |
47 | lnk960.sh |
48 | m68kcoff.sh | |
bd7b78f7 | 49 | m68klynx.sh |
8ddef552 DM |
50 | m88kbcs.sh |
51 | mipsbig.sh | |
52 | mipsbsd.sh | |
53 | mipsidt.sh | |
54 | mipsidtl.sh | |
55 | mipslit.sh | |
56 | news.sh | |
57 | sa29200.sh | |
58 | sh.sh | |
59 | st2000.sh | |
60 | sun3.sh | |
61 | sun4.sh | |
62 | vanilla.sh | |
63 | vax.sh | |
64 | z8ksim.sh | |
65 | ||
66 | Things-to-lose: | |
67 | ||
68 | # The lines between the "Do-last:" line and the end of the file | |
69 | # are executed as a /bin/sh shell script after everything else is | |
70 | # done. | |
71 | ||
72 | Do-last: | |
73 | ||
e900b30c KR |
74 | if ( echo $* | grep keep-v9 > /dev/null ) ; then |
75 | if [ -n "${verbose}" ] ; then | |
7ff42880 | 76 | echo Keeping `pwd`/elf64_sparc.sh. |
e900b30c KR |
77 | fi |
78 | else | |
79 | if [ -n "${verbose}" ] ; then | |
7ff42880 | 80 | echo Removing `pwd`/elf64_sparc.sh. |
e900b30c KR |
81 | fi |
82 | if [ -n "${safe}" ] ; then | |
7ff42880 | 83 | mv elf64_sparc.sh .Recover |
e900b30c | 84 | else |
7ff42880 | 85 | rm elf64_sparc.sh |
e900b30c KR |
86 | fi |
87 | fi | |
88 |