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