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