]> Git Repo - binutils.git/blame - include/.Sanitize
* sys/h-vaxult.h: Make it work. (David Taylor <[email protected]>)
[binutils.git] / include / .Sanitize
CommitLineData
0fd8d5d9
RP
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
18Do-first:
19
20echo 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
28Things-to-keep:
29
8e71e6e3 30COPYING
49d6a0e6 31ChangeLog
0fd8d5d9
RP
32a.out.encap.h
33a.out.gnu.h
34a.out.host.h
35a.out.sun4.h
36a.out.vax.h
37a29k-opcode.h
77507546 38h8300-opcode.h
a737c70b 39amdcoff.h
0fd8d5d9
RP
40ansidecl.h
41aout64.h
42ar.h
43arm-opcode.h
44bcs88kcoff.h
45bfd.h
46bout.h
47convx-opcode.h
48ecoff.h
49gdbm.h
50getopt.h
51i386-opcode.h
137a7f11 52i386coff.h
0fd8d5d9
RP
53i860-opcode.h
54i960-opcode.h
55ieee.h
56intel-coff.h
57m68k-opcode.h
58m68kcoff.h
59m88k-bcs.h
de9d4075 60internalcoff.h
0fd8d5d9
RP
61m88k-opcode.h
62mips-opcode.h
63np1-opcode.h
64ns32k-opcode.h
65oasys.h
66obstack.h
67pn-opcode.h
68pyr-opcode.h
69ranlib.h
70reloc.h
71sparc-opcode.h
72stab.def
73stab.gnu.h
0fd8d5d9
RP
74sys
75sysdep.h
76tahoe-opcode.h
77vax-opcode.h
78wait.h
79
80Do-last:
81
5f62d65b 82v9dirty="sparc-opcode.h aout64.h"
0fd8d5d9 83
24d6615c 84if ( echo $* | grep keep\-v9 > /dev/null ) ; then
5f62d65b 85 echo Keeping v9 in ${v9dirty}
24d6615c 86else
5f62d65b
RP
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
2fbf0d18 94 rm $i
5f62d65b
RP
95 fi
96 mv new $i
97 done
24d6615c
JG
98fi
99
0fd8d5d9
RP
100echo Done in `pwd`.
101
102#
103#
104# $Log$
77507546
SC
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
2fbf0d18
JG
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
5f62d65b
RP
113# Adding "recover"'ability.
114#
115# Revision 1.11 1991/09/02 21:21:47 rich
1312dccc
RP
116# Recover the editted files.
117#
118# Revision 1.10 1991/08/29 00:34:45 gnu
4d84d6ad
JG
119# Paperwork handled for AMD Coff.
120#
121# Revision 1.9 1991/08/22 08:00:35 gnu
49d6a0e6
JG
122# Add ChangeLog for Include.
123#
124# Revision 1.8 1991/07/31 17:36:04 gnu
3097f718
JG
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
51c27f49
JG
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
8e71e6e3
JG
133# Add COPYING file.
134#
135# Revision 1.5 1991/07/24 00:47:13 gnu
24d6615c
JG
136# Blow away v9 stuff in aout64.h too.
137#
138# Revision 1.4 1991/07/15 23:34:14 steve
a737c70b
SC
139# *** empty log message ***
140#
141# Revision 1.3 1991/06/14 22:14:07 steve
de9d4075
SC
142# *** empty log message ***
143#
144# Revision 1.2 1991/05/31 11:26:52 gnu
137a7f11
JG
145# Add i386coff.h. Print msg when sanitizing sparc-opcode.h.
146#
147# Revision 1.1 1991/05/23 17:00:59 rich
0fd8d5d9
RP
148# Initial revision
149#
150#
151#
152
153# End of file.
This page took 0.05802 seconds and 4 git commands to generate.