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