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 | ||
de61c9e1 SS |
18 | d10v_files="elfd10v.sc" |
19 | ||
20 | if ( echo $* | grep keep\-d10v > /dev/null ) ; then | |
21 | keep_these_too="${d10v_files} ${keep_these_too}" | |
22 | else | |
23 | lose_these_too="${d10v_files} ${lose_these_too}" | |
24 | fi | |
25 | ||
11effa69 FF |
26 | tic80_files="tic80coff.sc" |
27 | ||
28 | if ( echo $* | grep keep\-tic80 > /dev/null ) ; then | |
29 | keep_these_too="${tic80_files} ${keep_these_too}" | |
30 | else | |
31 | lose_these_too="${tic80_files} ${lose_these_too}" | |
32 | fi | |
33 | ||
aa9b7ded ILT |
34 | v850_files="v850.sc" |
35 | ||
36 | if ( echo $* | grep keep\-v850 > /dev/null ) ; then | |
37 | keep_these_too="${v850_files} ${keep_these_too}" | |
38 | else | |
39 | lose_these_too="${v850_files} ${lose_these_too}" | |
40 | fi | |
41 | ||
8ddef552 DM |
42 | # All files listed between the "Things-to-keep:" line and the |
43 | # "Do-last:" line will be kept. All other files will be removed. | |
44 | # Directories listed in this section will have their own Sanitize | |
45 | # called. Directories not listed will be removed in their entirety | |
46 | # with rm -rf. | |
47 | ||
48 | Things-to-keep: | |
49 | ||
50 | README | |
51 | a29k.sc | |
b5f076d4 | 52 | aix.sc |
42f9673d | 53 | alpha.sc |
ff15324f | 54 | armaout.sc |
132dd910 | 55 | armcoff.sc |
8ddef552 | 56 | aout.sc |
63982998 | 57 | delta68.sc |
8ddef552 | 58 | ebmon29k.sc |
3bf3f99a | 59 | elf.sc |
fe1379d4 | 60 | elfmips.sc |
5f16938d | 61 | elfppc.sc |
6149af09 | 62 | go32coff.sc |
8ddef552 | 63 | h8300.sc |
cdbcb08c | 64 | h8300h.sc |
cce8528d | 65 | h8300s.sc |
8ddef552 | 66 | h8500.sc |
a25e9935 SC |
67 | h8500b.sc |
68 | h8500c.sc | |
69 | h8500m.sc | |
70 | h8500s.sc | |
423dae05 | 71 | hppaelf.sc |
8ddef552 | 72 | i386coff.sc |
6c86b9ff | 73 | i386go32.sc |
89464c7a | 74 | i386lynx.sc |
a2fb6995 | 75 | i386msdos.sc |
8ddef552 | 76 | i960.sc |
40ab9bb9 | 77 | m68kaux.sc |
8ddef552 | 78 | m68kcoff.sc |
dd3f0e5b | 79 | m68klynx.sc |
8ddef552 DM |
80 | m88kbcs.sc |
81 | mips.sc | |
82 | mipsbsd.sc | |
9ff30f20 | 83 | nw.sc |
eb7f87c5 | 84 | pe.sc |
070eddd9 | 85 | ppcpe.sc |
307585f1 | 86 | psos.sc |
8e0e09f6 | 87 | riscix.sc |
8ddef552 DM |
88 | sa29200.sc |
89 | sh.sc | |
9798d9bf | 90 | sparccoff.sc |
89464c7a | 91 | sparclynx.sc |
8ddef552 DM |
92 | st2000.sc |
93 | vanilla.sc | |
506f4ede | 94 | w65.sc |
66a61efd | 95 | z8000.sc |
8ddef552 DM |
96 | |
97 | Things-to-lose: | |
98 | ||
99 | # The lines between the "Do-last:" line and the end of the file | |
100 | # are executed as a /bin/sh shell script after everything else is | |
101 | # done. | |
102 | ||
103 | Do-last: |