Commit | Line | Data |
---|---|---|
89464c7a | 1 | # .Sanitize for devo/ld/scripttempl. |
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 | ||
fb14975b MT |
18 | rce_files="rce.sc" |
19 | ||
20 | if ( echo $* | grep keep\-rce > /dev/null ) ; then | |
21 | keep_these_too="${rce_files} ${keep_these_too}" | |
22 | else | |
23 | lose_these_too="${rce_files} ${lose_these_too}" | |
24 | fi | |
8ddef552 DM |
25 | |
26 | # All files listed between the "Things-to-keep:" line and the | |
27 | # "Do-last:" line will be kept. All other files will be removed. | |
28 | # Directories listed in this section will have their own Sanitize | |
29 | # called. Directories not listed will be removed in their entirety | |
30 | # with rm -rf. | |
31 | ||
32 | Things-to-keep: | |
33 | ||
34 | README | |
35 | a29k.sc | |
42f9673d | 36 | alpha.sc |
28d0c3ce | 37 | armpe.sc |
ff15324f | 38 | armaout.sc |
8ddef552 DM |
39 | aout.sc |
40 | ebmon29k.sc | |
3bf3f99a | 41 | elf.sc |
5f16938d | 42 | elfppc.sc |
6149af09 | 43 | go32coff.sc |
8ddef552 | 44 | h8300.sc |
cdbcb08c | 45 | h8300h.sc |
8ddef552 | 46 | h8500.sc |
a25e9935 SC |
47 | h8500b.sc |
48 | h8500c.sc | |
49 | h8500m.sc | |
50 | h8500s.sc | |
423dae05 | 51 | hppaelf.sc |
8ddef552 | 52 | i386coff.sc |
3f38a017 | 53 | i386pe.sc |
6c86b9ff | 54 | i386go32.sc |
89464c7a | 55 | i386lynx.sc |
a2fb6995 | 56 | i386msdos.sc |
8ddef552 DM |
57 | i960.sc |
58 | m68kcoff.sc | |
dd3f0e5b | 59 | m68klynx.sc |
8ddef552 DM |
60 | m88kbcs.sc |
61 | mips.sc | |
62 | mipsbsd.sc | |
9ff30f20 | 63 | nw.sc |
8e0e09f6 | 64 | riscix.sc |
8ddef552 DM |
65 | sa29200.sc |
66 | sh.sc | |
9798d9bf | 67 | sparccoff.sc |
89464c7a | 68 | sparclynx.sc |
8ddef552 DM |
69 | st2000.sc |
70 | vanilla.sc | |
506f4ede | 71 | w65.sc |
66a61efd | 72 | z8000.sc |
8ddef552 DM |
73 | |
74 | Things-to-lose: | |
75 | ||
76 | # The lines between the "Do-last:" line and the end of the file | |
77 | # are executed as a /bin/sh shell script after everything else is | |
78 | # done. | |
79 | ||
80 | Do-last: |