]>
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.h | |
31 | atof-ieee.c | |
32 | atof-vax.c | |
33 | coff.gnu.h | |
34 | cplus-dem.c | |
35 | hmake-a29k | |
36 | hmake-cygnus | |
37 | hmake-i386 | |
38 | ho-a29k.h | |
39 | ho-ansi.h | |
40 | ho-cygnus.h | |
41 | ho-generic.h | |
42 | ho-hpux.h | |
43 | ho-i386.h | |
44 | ho-pmax.h | |
45 | ho-rs6000.h | |
46 | ho-sun3.h | |
47 | ho-sun386.h | |
48 | ho-sun4.h | |
49 | ho-sunos.h | |
50 | ho-sysv.h | |
51 | ho-vax.h | |
52 | obj-aout.c | |
53 | obj-aout.h | |
54 | obj-bfd-sunos.c | |
55 | obj-bfd-sunos.h | |
56 | obj-bout.c | |
57 | obj-bout.h | |
58 | obj-coff.c | |
59 | obj-coff.h | |
60 | obj-generic.c | |
61 | obj-generic.h | |
62 | ranlib.h | |
63 | signame.h | |
64 | stab.h | |
65 | tc-a29k.c | |
66 | tc-a29k.h | |
67 | tc-generic.c | |
68 | tc-generic.h | |
69 | tc-i386.c | |
70 | tc-i386.h | |
71 | tc-i860.c | |
72 | tc-i860.h | |
73 | tc-i960.c | |
74 | tc-i960.h | |
75 | tc-m68851.h | |
76 | tc-m68k.c | |
77 | tc-m68k.h | |
78 | tc-ns32k.c | |
79 | tc-ns32k.h | |
80 | tc-sparc.c | |
81 | tc-sparc.h | |
82 | tc-vax.c | |
83 | tc-vax.h | |
84 | te-dpx2.h | |
85 | te-generic.h | |
86 | te-ic960.h | |
87 | te-motor.h | |
88 | te-sco386.h | |
89 | te-sparc.h | |
90 | te-sun3.h | |
91 | te-unisoft.h | |
92 | tmake-sun3 | |
93 | vax-inst.h | |
94 | vms | |
95 | ||
96 | Do-last: | |
97 | ||
98 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
99 | echo Keeping v9 stuff in tc-sparc.c. | |
100 | else | |
101 | echo Cleaning tc-sparc.c... | |
102 | sed '/start\-sanitize/,/end-sanitize/d' < tc-sparc.c > new | |
103 | mv new tc-sparc.c | |
104 | fi | |
105 | ||
106 | echo Done in `pwd`. | |
107 | ||
108 | # | |
109 | # | |
110 | # $Log$ | |
111 | # Revision 1.1 1991/05/23 17:09:03 rich | |
112 | # Initial revision | |
113 | # | |
114 | # | |
115 | # | |
116 | ||
117 | # End of file. |