Wed Jan 31 13:11:54 1996 Richard Henderson <rth@tamu.edu>
[deliverable/binutils-gdb.git] / include / coff / .Sanitize
CommitLineData
2a6795f1 1# Sanitize.in for include/coff.
1ee1fd7e
SC
2
3# Each directory to survive it's way into a release will need a file
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
14# done in this
15
16Do-first:
17
dfbbce32 18
1ee1fd7e
SC
19# All files listed between the "Things-to-keep:" line and the
20# "Files-to-sed:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
27ChangeLog
28a29k.h
f581f995 29alpha.h
8bd3f876 30apollo.h
f581f995 31arm.h
c31c8827 32aux.h
045f6b66 33ecoff.h
1ee1fd7e 34h8300.h
ff975a2c 35h8500.h
1ee1fd7e 36i386.h
da40dd53 37i860.h
1ee1fd7e
SC
38i960.h
39internal.h
40m68k.h
41m88k.h
42mips.h
9111b25a 43pe.h
85009674 44powerpc.h
1ee1fd7e 45rs6000.h
dfbbce32 46sh.h
a3ffe730 47sparc.h
291dcdc6
JG
48sym.h
49symconst.h
08acc833 50w65.h
f581f995 51we32k.h
eaa0f4f8 52z8k.h
1ee1fd7e 53
87756e15
RP
54Things-to-lose:
55
775d4a40 56
2a6795f1 57Do-last:
1ee1fd7e 58
b55701fa
KR
59i960xl_files="ChangeLog i960.h"
60if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
61 if [ -n "${verbose}" ] ; then
62 echo Keeping i960xl stuff in $i960xl_files.
63 fi
64else
65 if [ -n "${verbose}" ]; then
66 echo -n Cleaning i960xl in `pwd`:
67 fi
68 for f in $i960xl_files ; do
69 if [ -n "${verbose}" ] ; then
70 echo -n " " $f
71 fi
72 sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
73 if [ -n "${safe}" ] ; then
74 mv $f .Recover
75 fi
76 mv new $f
77 done
78fi
79
1ee1fd7e 80# End of file.
This page took 0.136546 seconds and 4 git commands to generate.