paperwork handled for AMD Coff.
[platform/upstream/binutils.git] / bfd / .Sanitize
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 COPYING
30 doc
31 ChangeLog
32 Makefile.in
33 TODO
34 VERSION
35 amdcoff.c
36 aout32.c
37 aout64.c
38 aoutf1.h
39 aoutx.h
40 archive.c
41 archures.c
42 bfd-in.h
43 bfd.c
44 bout.c
45 cache.c
46 coffcode.h
47 config
48 config.sub
49 configure
50 configure.in
51 core.c
52 demo64.c
53 ecoff.c
54 filemode.c
55 format.c
56 host-aout.c
57 i386coff.c
58 icoff.c
59 ieee.c
60 libaout.h
61 libbfd-in.h
62 libbfd.c
63 libbfd.h
64 libcoff-in.h
65 libcoff.h
66 libieee.h
67 liboasys.h
68 m68kcoff.c
69 m88k-bcs.c
70 newsos3.c
71 oasys.c
72 opncls.c
73 reloc.c
74 section.c
75 srec.c
76 sunos.c
77 syms.c
78 targets.c
79 trad-core.c
80 trad-core.h
81
82 Do-last:
83
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
91                 rm aoutx.h
92                 mv new aoutx.h
93         done
94 fi
95
96 echo Done in `pwd`.
97
98 #
99 #
100 # $Log$
101 # Revision 1.18  1991/08/29 00:35:06  gnu
102 # paperwork handled for AMD Coff.
103 #
104 # Revision 1.17  1991/08/22  20:23:12  steve
105 # *** empty log message ***
106 #
107 # Revision 1.16  1991/08/22  07:31:21  gnu
108 # New config.sub
109 #
110 # Revision 1.15  1991/08/22  07:20:49  gnu
111 # Improve our Sanity.
112 #
113 # Revision 1.14  1991/08/17  00:17:00  steve
114 # Documentation
115 #
116 # Revision 1.13  1991/08/01  14:37:51  steve
117 # *** empty log message ***
118 #
119 # Revision 1.12  1991/08/01  05:33:39  gnu
120 # Forgot one more place to remove amdcoff.c reference (sigh).
121 #
122 # Revision 1.11  1991/08/01  01:27:44  gnu
123 # Delete CVS.adm from the release!
124 #
125 # Revision 1.10  1991/07/31  22:28:30  gnu
126 # Remove archures.h
127 #
128 # Revision 1.9  1991/07/31  17:37:00  gnu
129 # Remove amdcoff.c (and its name from Makefile.in) by default, because
130 # its copyright is not yet assigned to FSF.
131 #
132 # Revision 1.8  1991/07/31  07:54:31  gnu
133 # Better sanitize aoutx.h too!
134 #
135 # Revision 1.7  1991/07/16  00:39:03  steve
136 # *** empty log message ***
137 #
138 # Revision 1.6  1991/07/16  00:35:56  steve
139 # *** empty log message ***
140 #
141 # Revision 1.5  1991/07/15  23:32:40  steve
142 # *** empty log message ***
143 #
144 # Revision 1.4  1991/07/04  16:52:54  steve
145 # Now full of documentation. Yum Yum.
146 #
147 # Revision 1.3  1991/05/31  11:22:12  gnu
148 # Remove coff-code.h and liba.out.h, add libaout.h.
149 #
150 # Revision 1.2  1991/05/29  02:40:08  gnu
151 # Fix up .Sanitize file, remove files that are not referenced.
152 #
153 # Revision 1.1  1991/05/23  21:14:00  rich
154 # Initial revision
155 #
156 #
157 #
158
159 # End of file.