I80960XL support (sanitized), misc cleanup:
[deliverable/binutils-gdb.git] / gas / .Sanitize
1 # .Sanitize for devo/gas.
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 directory.
15
16 Do-first:
17
18 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
19 keep_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
20 else
21 lose_these_too="mpw-config.in mpw-make.in ChangeLog.mpw"
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31
32 .gdbinit
33 CONTRIBUTORS
34 COPYING
35 ChangeLog
36 Makefile.in
37 NEWS
38 NOTES
39 NOTES.config
40 README
41 README-quirks
42 README-vms
43 README.coff
44 README.rich
45 app.c
46 as.c
47 as.h
48 atof-generic.c
49 bignum-copy.c
50 bignum.h
51 bit_fix.h
52 cond.c
53 config
54 config-gas.com
55 configure.bat
56 configure.in
57 debug.c
58 doc
59 ecoff.c
60 ecoff.h
61 expr.c
62 expr.h
63 flonum-copy.c
64 flonum-konst.c
65 flonum-mult.c
66 flonum.h
67 frags.c
68 frags.h
69 gasp.c
70 hash.c
71 hash.h
72 hex-value.c
73 input-file.c
74 input-file.h
75 input-scrub.c
76 link.cmd
77 listing.c
78 listing.h
79 literal.c
80 make-gas.com
81 messages.c
82 obj.h
83 output-file.c
84 output-file.h
85 read.c
86 read.h
87 stabs.c
88 struc-symbol.h
89 subsegs.c
90 subsegs.h
91 symbols.c
92 symbols.h
93 tc.h
94 testsuite
95 vmsconf.sh
96 write.c
97 write.h
98 xmalloc.c
99
100 Things-to-lose:
101
102 Do-last:
103
104 i960xl_files=ChangeLog
105 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
106 if [ -n "${verbose}" ] ; then
107 echo Keeping i960xl stuff in $i960xl_files.
108 fi
109 else
110 if [ -n "${verbose}" ]; then
111 echo -n Cleaning i960xl in `pwd`:
112 fi
113 for f in $i960xl_files ; do
114 if [ -n "${verbose}" ] ; then
115 echo -n " " $f
116 fi
117 sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
118 if [ -n "${safe}" ] ; then
119 mv $f .Recover
120 fi
121 mv new $f
122 done
123 fi
124
125 #
126 # End of file.
This page took 0.043835 seconds and 5 git commands to generate.