Remove amdcoff.h by default because its copyright is not assigned to FSF.
[deliverable/binutils-gdb.git] / include / .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
30 COPYING
31 a.out.encap.h
32 a.out.gnu.h
33 a.out.host.h
34 a.out.sun4.h
35 a.out.vax.h
36 a29k-opcode.h
37 amdcoff.h
38 ansidecl.h
39 aout64.h
40 ar.h
41 arm-opcode.h
42 bcs88kcoff.h
43 bfd.h
44 bout.h
45 convx-opcode.h
46 ecoff.h
47 gdbm.h
48 getopt.h
49 i386-opcode.h
50 i386coff.h
51 i860-opcode.h
52 i960-opcode.h
53 ieee.h
54 intel-coff.h
55 m68k-opcode.h
56 m68kcoff.h
57 m88k-bcs.h
58 internalcoff.h
59 m88k-opcode.h
60 mips-opcode.h
61 np1-opcode.h
62 ns32k-opcode.h
63 oasys.h
64 obstack.h
65 pn-opcode.h
66 pyr-opcode.h
67 ranlib.h
68 reloc.h
69 sparc-opcode.h
70 stab.def
71 stab.gnu.h
72 sys
73 sysdep.h
74 tahoe-opcode.h
75 vax-opcode.h
76 wait.h
77
78 Do-last:
79
80 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
81 echo Keeping v9 in sparc-opcode.h.
82 else
83 echo Sanitizing v9 in sparc-opcode.h.
84 rm -f new
85 grep -v v9 sparc-opcode.h > new
86 rm sparc-opcode.h
87 mv new sparc-opcode.h
88 fi
89
90 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
91 echo Keeping v9 in aout64.h.
92 else
93 echo Sanitizing v9 in aout64.h.
94 rm -f new
95 grep -v v9 aout64.h > new
96 rm aout64.h
97 mv new aout64.h
98 fi
99
100 if ( echo $* | grep keep\-29k > /dev/null ) ; then
101 echo Keeping 29k in amdcoff.h
102 else
103 echo Sanitizing 29k in amdcoff.h
104 rm -f amdcoff.h
105 fi
106
107 echo Done in `pwd`.
108
109 #
110 #
111 # $Log$
112 # Revision 1.8 1991/07/31 17:36:04 gnu
113 # Remove amdcoff.h by default because its copyright is not assigned to FSF.
114 # "Sanitize -keep-29k" will keep it.
115 #
116 # Revision 1.7 1991/07/31 03:11:46 gnu
117 # Remove symseg.h, the ancient GDB symbol-segments (gdb-specific debug
118 # information) definition.
119 #
120 # Revision 1.6 1991/07/24 01:07:25 gnu
121 # Add COPYING file.
122 #
123 # Revision 1.5 1991/07/24 00:47:13 gnu
124 # Blow away v9 stuff in aout64.h too.
125 #
126 # Revision 1.4 1991/07/15 23:34:14 steve
127 # *** empty log message ***
128 #
129 # Revision 1.3 1991/06/14 22:14:07 steve
130 # *** empty log message ***
131 #
132 # Revision 1.2 1991/05/31 11:26:52 gnu
133 # Add i386coff.h. Print msg when sanitizing sparc-opcode.h.
134 #
135 # Revision 1.1 1991/05/23 17:00:59 rich
136 # Initial revision
137 #
138 #
139 #
140
141 # End of file.
This page took 0.033789 seconds and 5 git commands to generate.