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