Remove archures.h
[deliverable/binutils-gdb.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 CVS.adm
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.c
43 bfd.texinfo
44 bout.c
45 cache.c
46 coffcode.h
47 config
48 configure
49 configure.in
50 core.c
51 demo64.c
52 ecoff.c
53 filemode.c
54 format.c
55 host-aout.c
56 i386coff.c
57 icoff.c
58 ieee.c
59 libaout.h
60 libbfd.c
61 libbfd.h
62 libcoff.h
63 libieee.h
64 liboasys.h
65 m68kcoff.c
66 m88k-bcs.c
67 newsos3.c
68 oasys.c
69 opncls.c
70 reloc.c
71 section.c
72 srec.c
73 sunos.c
74 syms.c
75 targets.c
76 trad-core.c
77 trad-core.h
78
79 Do-last:
80
81 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
82 echo Keeping v9 in aoutx.h
83 else
84 echo Sanitizing v9 in aoutx.h
85 rm -f new
86 while grep -s start-sanitize-v9 aoutx.h ; do
87 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
88 rm aoutx.h
89 mv new aoutx.h
90 done
91 fi
92
93 if ( echo $* | grep keep\-29k > /dev/null ) ; then
94 echo Keeping 29k in amdcoff.c and Makefile.in
95 else
96 echo Sanitizing 29k in amdcoff.c and Makefile.in
97 rm -f amdcoff.c
98 rm -f new
99 sed -e 's/ amdcoff.[co] / /g' <Makefile.in >new
100 mv new Makefile.in
101 fi
102
103 echo Done in `pwd`.
104
105 #
106 #
107 # $Log$
108 # Revision 1.10 1991/07/31 22:28:30 gnu
109 # Remove archures.h
110 #
111 # Revision 1.9 1991/07/31 17:37:00 gnu
112 # Remove amdcoff.c (and its name from Makefile.in) by default, because
113 # its copyright is not yet assigned to FSF.
114 #
115 # Revision 1.8 1991/07/31 07:54:31 gnu
116 # Better sanitize aoutx.h too!
117 #
118 # Revision 1.7 1991/07/16 00:39:03 steve
119 # *** empty log message ***
120 #
121 # Revision 1.6 1991/07/16 00:35:56 steve
122 # *** empty log message ***
123 #
124 # Revision 1.5 1991/07/15 23:32:40 steve
125 # *** empty log message ***
126 #
127 # Revision 1.4 1991/07/04 16:52:54 steve
128 # Now full of documentation. Yum Yum.
129 #
130 # Revision 1.3 1991/05/31 11:22:12 gnu
131 # Remove coff-code.h and liba.out.h, add libaout.h.
132 #
133 # Revision 1.2 1991/05/29 02:40:08 gnu
134 # Fix up .Sanitize file, remove files that are not referenced.
135 #
136 # Revision 1.1 1991/05/23 21:14:00 rich
137 # Initial revision
138 #
139 #
140 #
141
142 # End of file.
This page took 0.034076 seconds and 5 git commands to generate.