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