Commit | Line | Data |
---|---|---|
08942d11 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 | ||
446545dd | 20 | echo Sanitizing `pwd`. |
08942d11 RP |
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: | |
08942d11 | 29 | COPYING |
86835b01 | 30 | doc |
08942d11 RP |
31 | ChangeLog |
32 | Makefile.in | |
33 | TODO | |
8c1891af | 34 | VERSION |
fb1c4481 | 35 | amdcoff.c |
08942d11 RP |
36 | aout32.c |
37 | aout64.c | |
38 | aoutf1.h | |
08942d11 RP |
39 | aoutx.h |
40 | archive.c | |
41 | archures.c | |
901c5bfd | 42 | bfd-in.h |
08942d11 | 43 | bfd.c |
08942d11 RP |
44 | bout.c |
45 | cache.c | |
08942d11 | 46 | coffcode.h |
fb1c4481 | 47 | config |
fa557803 | 48 | config.sub |
a4c407e5 | 49 | configure |
08942d11 | 50 | configure.in |
6f715d66 | 51 | core.c |
08942d11 RP |
52 | demo64.c |
53 | ecoff.c | |
54 | filemode.c | |
6f715d66 | 55 | format.c |
08942d11 | 56 | host-aout.c |
8c1891af | 57 | i386coff.c |
08942d11 RP |
58 | icoff.c |
59 | ieee.c | |
141c97ea | 60 | libaout.h |
901c5bfd | 61 | libbfd-in.h |
08942d11 RP |
62 | libbfd.c |
63 | libbfd.h | |
901c5bfd | 64 | libcoff-in.h |
08942d11 RP |
65 | libcoff.h |
66 | libieee.h | |
67 | liboasys.h | |
68 | m68kcoff.c | |
69 | m88k-bcs.c | |
08942d11 RP |
70 | newsos3.c |
71 | oasys.c | |
72 | opncls.c | |
6f715d66 SC |
73 | reloc.c |
74 | section.c | |
08942d11 RP |
75 | srec.c |
76 | sunos.c | |
6f715d66 | 77 | syms.c |
08942d11 RP |
78 | targets.c |
79 | trad-core.c | |
80 | trad-core.h | |
81 | ||
82 | Do-last: | |
83 | ||
446545dd JG |
84 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
85 | echo Keeping v9 in aoutx.h | |
86 | else | |
87 | echo Sanitizing v9 in aoutx.h | |
88 | rm -f new | |
89 | while grep -s start-sanitize-v9 aoutx.h ; do | |
90 | sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new | |
01f0a88e RP |
91 | if [ -n "${safe}" ] ; then |
92 | mv aoutx.h .Recover | |
93 | else | |
94 | rm aoutx.h | |
95 | fi | |
446545dd JG |
96 | mv new aoutx.h |
97 | done | |
98 | fi | |
99 | ||
08942d11 RP |
100 | echo Done in `pwd`. |
101 | ||
102 | # | |
103 | # | |
104 | # $Log$ | |
01f0a88e RP |
105 | # Revision 1.20 1991/09/04 03:59:15 rich |
106 | # Added "recover"'ability. | |
107 | # | |
108 | # Revision 1.19 1991/09/03 22:21:30 rich | |
48543e05 RP |
109 | # "recover" aoutx.h |
110 | # | |
111 | # Revision 1.18 1991/08/29 00:35:06 gnu | |
20ccfb09 JG |
112 | # paperwork handled for AMD Coff. |
113 | # | |
114 | # Revision 1.17 1991/08/22 20:23:12 steve | |
86835b01 SC |
115 | # *** empty log message *** |
116 | # | |
117 | # Revision 1.16 1991/08/22 07:31:21 gnu | |
fa557803 JG |
118 | # New config.sub |
119 | # | |
120 | # Revision 1.15 1991/08/22 07:20:49 gnu | |
901c5bfd JG |
121 | # Improve our Sanity. |
122 | # | |
123 | # Revision 1.14 1991/08/17 00:17:00 steve | |
c618de01 SC |
124 | # Documentation |
125 | # | |
126 | # Revision 1.13 1991/08/01 14:37:51 steve | |
e961483f SC |
127 | # *** empty log message *** |
128 | # | |
129 | # Revision 1.12 1991/08/01 05:33:39 gnu | |
fab4b2d3 JG |
130 | # Forgot one more place to remove amdcoff.c reference (sigh). |
131 | # | |
132 | # Revision 1.11 1991/08/01 01:27:44 gnu | |
3c123e24 JG |
133 | # Delete CVS.adm from the release! |
134 | # | |
135 | # Revision 1.10 1991/07/31 22:28:30 gnu | |
96d38440 JG |
136 | # Remove archures.h |
137 | # | |
138 | # Revision 1.9 1991/07/31 17:37:00 gnu | |
de02577e JG |
139 | # Remove amdcoff.c (and its name from Makefile.in) by default, because |
140 | # its copyright is not yet assigned to FSF. | |
141 | # | |
142 | # Revision 1.8 1991/07/31 07:54:31 gnu | |
446545dd JG |
143 | # Better sanitize aoutx.h too! |
144 | # | |
145 | # Revision 1.7 1991/07/16 00:39:03 steve | |
fb1c4481 SC |
146 | # *** empty log message *** |
147 | # | |
148 | # Revision 1.6 1991/07/16 00:35:56 steve | |
a4c407e5 SC |
149 | # *** empty log message *** |
150 | # | |
151 | # Revision 1.5 1991/07/15 23:32:40 steve | |
a737c70b SC |
152 | # *** empty log message *** |
153 | # | |
154 | # Revision 1.4 1991/07/04 16:52:54 steve | |
6f715d66 SC |
155 | # Now full of documentation. Yum Yum. |
156 | # | |
157 | # Revision 1.3 1991/05/31 11:22:12 gnu | |
141c97ea JG |
158 | # Remove coff-code.h and liba.out.h, add libaout.h. |
159 | # | |
160 | # Revision 1.2 1991/05/29 02:40:08 gnu | |
8c1891af JG |
161 | # Fix up .Sanitize file, remove files that are not referenced. |
162 | # | |
163 | # Revision 1.1 1991/05/23 21:14:00 rich | |
08942d11 RP |
164 | # Initial revision |
165 | # | |
166 | # | |
167 | # | |
168 | ||
169 | # End of file. |