]>
Commit | Line | Data |
---|---|---|
0fd8d5d9 RP |
1 | # Sanitize.in for devo. |
2 | # $Id$ | |
3 | # | |
4 | ||
5 | # Each directory to survive it's way into a release will need a file | |
6 | # like this one called "./.Sanitize". All keyword lines must exist, | |
7 | # and must exist in the order specified by this file. Each directory | |
8 | # in the tree will be processed, top down, in the following order. | |
9 | ||
10 | # Hash started lines like this one are comments and will be deleted | |
11 | # before anything else is done. Blank lines will also be squashed | |
12 | # out. | |
13 | ||
14 | # The lines between the "Do-first:" line and the "Things-to-keep:" | |
15 | # line are executed as a /bin/sh shell script before anything else is | |
16 | # done in this | |
17 | ||
18 | Do-first: | |
19 | ||
20 | echo Sanitizing `pwd`... | |
21 | ||
22 | # All files listed between the "Things-to-keep:" line and the | |
23 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
24 | # Directories listed in this section will have their own Sanitize | |
25 | # called. Directories not listed will be removed in their entirety | |
26 | # with rm -rf. | |
27 | ||
28 | Things-to-keep: | |
29 | ||
30 | a.out.encap.h | |
31 | a.out.gnu.h | |
32 | a.out.host.h | |
33 | a.out.sun4.h | |
34 | a.out.vax.h | |
35 | a29k-opcode.h | |
a737c70b | 36 | amdcoff.h |
0fd8d5d9 RP |
37 | ansidecl.h |
38 | aout64.h | |
39 | ar.h | |
40 | arm-opcode.h | |
41 | bcs88kcoff.h | |
42 | bfd.h | |
43 | bout.h | |
44 | convx-opcode.h | |
45 | ecoff.h | |
46 | gdbm.h | |
47 | getopt.h | |
48 | i386-opcode.h | |
137a7f11 | 49 | i386coff.h |
0fd8d5d9 RP |
50 | i860-opcode.h |
51 | i960-opcode.h | |
52 | ieee.h | |
53 | intel-coff.h | |
54 | m68k-opcode.h | |
55 | m68kcoff.h | |
56 | m88k-bcs.h | |
de9d4075 | 57 | internalcoff.h |
0fd8d5d9 RP |
58 | m88k-opcode.h |
59 | mips-opcode.h | |
60 | np1-opcode.h | |
61 | ns32k-opcode.h | |
62 | oasys.h | |
63 | obstack.h | |
64 | pn-opcode.h | |
65 | pyr-opcode.h | |
66 | ranlib.h | |
67 | reloc.h | |
68 | sparc-opcode.h | |
69 | stab.def | |
70 | stab.gnu.h | |
71 | symseg.h | |
72 | sys | |
73 | sysdep.h | |
74 | tahoe-opcode.h | |
75 | vax-opcode.h | |
76 | wait.h | |
77 | ||
78 | Do-last: | |
79 | ||
80 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
81 | echo Keeping v9 in sparc-opcode.h. | |
82 | else | |
137a7f11 | 83 | echo Sanitizing v9 in sparc-opcode.h. |
0fd8d5d9 RP |
84 | rm -f new |
85 | grep -v v9 sparc-opcode.h > new | |
86 | rm sparc-opcode.h | |
87 | mv new sparc-opcode.h | |
88 | fi | |
89 | ||
90 | echo Done in `pwd`. | |
91 | ||
92 | # | |
93 | # | |
94 | # $Log$ | |
a737c70b SC |
95 | # Revision 1.4 1991/07/15 23:34:14 steve |
96 | # *** empty log message *** | |
97 | # | |
98 | # Revision 1.3 1991/06/14 22:14:07 steve | |
de9d4075 SC |
99 | # *** empty log message *** |
100 | # | |
101 | # Revision 1.2 1991/05/31 11:26:52 gnu | |
137a7f11 JG |
102 | # Add i386coff.h. Print msg when sanitizing sparc-opcode.h. |
103 | # | |
104 | # Revision 1.1 1991/05/23 17:00:59 rich | |
0fd8d5d9 RP |
105 | # Initial revision |
106 | # | |
107 | # | |
108 | # | |
109 | ||
110 | # End of file. |