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