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`... | |
8e25c1fa | 21 | recover="tc-sparc.c" |
0fd8d5d9 RP |
22 | |
23 | # All files listed between the "Things-to-keep:" line and the | |
24 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
25 | # Directories listed in this section will have their own Sanitize | |
26 | # called. Directories not listed will be removed in their entirety | |
27 | # with rm -rf. | |
28 | ||
29 | Things-to-keep: | |
30 | ||
31 | a.out.h | |
32 | atof-ieee.c | |
33 | atof-vax.c | |
34 | coff.gnu.h | |
35 | cplus-dem.c | |
36 | hmake-a29k | |
37 | hmake-cygnus | |
38 | hmake-i386 | |
39 | ho-a29k.h | |
40 | ho-ansi.h | |
41 | ho-cygnus.h | |
a71150bd | 42 | ho-decstation.h |
0fd8d5d9 RP |
43 | ho-generic.h |
44 | ho-hpux.h | |
45 | ho-i386.h | |
0fd8d5d9 RP |
46 | ho-rs6000.h |
47 | ho-sun3.h | |
48 | ho-sun386.h | |
49 | ho-sun4.h | |
50 | ho-sunos.h | |
51 | ho-sysv.h | |
52 | ho-vax.h | |
53 | obj-aout.c | |
54 | obj-aout.h | |
55 | obj-bfd-sunos.c | |
56 | obj-bfd-sunos.h | |
57 | obj-bout.c | |
58 | obj-bout.h | |
59 | obj-coff.c | |
60 | obj-coff.h | |
61 | obj-generic.c | |
62 | obj-generic.h | |
63 | ranlib.h | |
64 | signame.h | |
65 | stab.h | |
66 | tc-a29k.c | |
67 | tc-a29k.h | |
68 | tc-generic.c | |
69 | tc-generic.h | |
70 | tc-i386.c | |
71 | tc-i386.h | |
72 | tc-i860.c | |
73 | tc-i860.h | |
74 | tc-i960.c | |
75 | tc-i960.h | |
76 | tc-m68851.h | |
77 | tc-m68k.c | |
78 | tc-m68k.h | |
79 | tc-ns32k.c | |
80 | tc-ns32k.h | |
81 | tc-sparc.c | |
82 | tc-sparc.h | |
83 | tc-vax.c | |
84 | tc-vax.h | |
85 | te-dpx2.h | |
86 | te-generic.h | |
87 | te-ic960.h | |
88 | te-motor.h | |
89 | te-sco386.h | |
90 | te-sparc.h | |
91 | te-sun3.h | |
92 | te-unisoft.h | |
a71150bd | 93 | tmake-m68k |
0fd8d5d9 RP |
94 | vax-inst.h |
95 | vms | |
96 | ||
97 | Do-last: | |
98 | ||
99 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
100 | echo Keeping v9 stuff in tc-sparc.c. | |
101 | else | |
102 | echo Cleaning tc-sparc.c... | |
103 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
104 | mv new tc-sparc.c | |
105 | fi | |
106 | ||
107 | echo Done in `pwd`. | |
108 | ||
109 | # | |
110 | # | |
111 | # $Log$ | |
8e25c1fa RP |
112 | # Revision 1.3 1991/09/02 21:26:15 rich |
113 | # "recover" tc-sparc.c | |
114 | # | |
115 | # Revision 1.2 1991/09/02 01:03:38 rich | |
a71150bd RP |
116 | # Correct a few things. |
117 | # | |
118 | # Revision 1.1 1991/05/23 17:09:03 rich | |
0fd8d5d9 RP |
119 | # Initial revision |
120 | # | |
121 | # | |
122 | # | |
123 | ||
124 | # End of file. |