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