Rename r16 files to rce, and fix some more .Sanitize typos.
[deliverable/binutils-gdb.git] / gas / config / .Sanitize
1 # .Sanitize for devo/gas/config
2
3 # Each directory to survive its 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
16 Do-first:
17
18 r16_files="tc-r16.c tc-r16.h"
19
20 if ( echo $* | grep keep\-r16 > /dev/null ) ; then
21 keep_these_too="${r16_files} ${keep_these_too}"
22 else
23 lose_these_too="${r16_files} ${lose_these_too}"
24 fi
25
26 # All files listed between the "Things-to-keep:" line and the
27 # "Files-to-sed:" line will be kept. All other files will be removed.
28 # Directories listed in this section will have their own Sanitize
29 # called. Directories not listed will be removed in their entirety
30 # with rm -rf.
31
32 Things-to-keep:
33
34 aout_gnu.h
35 alpha-opcode.h
36 atof-ieee.c
37 atof-tahoe.c
38 atof-vax.c
39 go32.cfg
40 h8300.mt
41 h8500.mt
42 i386coff.mt
43 m68k.mt
44 m68kcoff.mt
45 m88k-opcode.h
46 m88kcoff.mt
47 mips-big.mt
48 mips-lit.mt
49 obj-aout.c
50 obj-aout.h
51 obj-bout.c
52 obj-bout.h
53 obj-coff.c
54 obj-coff.h
55 obj-ecoff.c
56 obj-ecoff.h
57 obj-elf.c
58 obj-elf.h
59 obj-generic.c
60 obj-generic.h
61 obj-hp300.c
62 obj-hp300.h
63 obj-ieee.c
64 obj-ieee.h
65 obj-som.c
66 obj-som.h
67 obj-vms.c
68 obj-vms.h
69 sh.mt
70 tc-a29k.c
71 tc-a29k.h
72 tc-alpha.c
73 tc-alpha.h
74 tc-arm.c
75 tc-arm.h
76 tc-generic.c
77 tc-generic.h
78 tc-h8300.c
79 tc-h8300.h
80 tc-h8500.c
81 tc-h8500.h
82 tc-hppa.c
83 tc-hppa.h
84 tc-i386.c
85 tc-i386.h
86 tc-i860.c
87 tc-i860.h
88 tc-i960.c
89 tc-i960.h
90 tc-m68851.h
91 tc-m68k.c
92 tc-m68k.h
93 tc-m88k.c
94 tc-m88k.h
95 tc-mips.c
96 tc-mips.h
97 tc-ns32k.c
98 tc-ns32k.h
99 tc-ppc.c
100 tc-ppc.h
101 tc-sh.c
102 tc-sh.h
103 tc-sparc.c
104 tc-sparc.h
105 tc-tahoe.c
106 tc-tahoe.h
107 tc-vax.c
108 tc-vax.h
109 tc-z8k.c
110 tc-z8k.h
111 te-386bsd.h
112 te-delta.h
113 te-dpx2.h
114 te-generic.h
115 te-go32.h
116 te-hp300.h
117 te-hppa.h
118 te-i386aix.h
119 te-ic960.h
120 te-linux.h
121 te-lynx.h
122 te-mach.h
123 te-nbsd.h
124 te-nbsd532.h
125 te-pc532mach.h
126 te-ppcnw.h
127 te-sco386.h
128 te-sun3.h
129 te-sysv32.h
130 vax-inst.h
131 vms-conf.h
132 z8k.mt
133
134 Things-to-lose:
135
136 Do-last:
137
138 i960xl_files=tc-i960.c
139 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
140 if [ -n "${verbose}" ] ; then
141 echo Keeping i960xl stuff in $i960xl_files.
142 fi
143 else
144 if [ -n "${verbose}" ]; then
145 echo -n Cleaning i960xl in `pwd`:
146 fi
147 for f in $i960xl_files ; do
148 if [ -n "${verbose}" ] ; then
149 echo -n " " $f
150 fi
151 grep -v XL < $f > new
152 if [ -n "${safe}" ] ; then
153 mv $f .Recover
154 fi
155 mv new $f
156 done
157 fi
158
159 # End of file.
This page took 0.038643 seconds and 4 git commands to generate.