]> Git Repo - binutils.git/blob - gas/.Sanitize
remove unneeded files
[binutils.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-make.in ChangeLog.mpw"
20 else
21         lose_these_too="mpw-config.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 gasp.c
77 hash.c
78 hash.h
79 hex-value.c
80 input-file.c
81 input-file.h
82 input-scrub.c
83 link.cmd
84 listing.c
85 listing.h
86 literal.c
87 make-gas.com
88 messages.c
89 obj.h
90 output-file.c
91 output-file.h
92 read.c
93 read.h
94 stabs.c
95 struc-symbol.h
96 subsegs.c
97 subsegs.h
98 symbols.c
99 symbols.h
100 tc.h
101 testsuite
102 vmsconf.sh
103 write.c
104 write.h
105 xmalloc.c
106
107 Things-to-lose:
108
109 Do-last:
110
111 if ( echo $* | grep keep-v9 > /dev/null ) ; then
112         if [ -n "${verbose}" ] ; then
113                 echo Keeping `pwd`/ChangeLog.v9.
114                 echo Keeping v9 code in `pwd`/configure.in.
115         fi
116 else
117         if [ -n "${verbose}" ] ; then
118                 echo Removing `pwd`/ChangeLog.v9
119         fi
120         if [ -n "${safe}" ] ; then
121                 mv ChangeLog.v9 .Recover
122         else
123                 rm ChangeLog.v9
124         fi
125         if [ -n "${verbose}" ] ; then
126                 echo Cleaning v9 code from `pwd`/configure.in.
127         fi
128         grep -v v9 < configure.in > new
129         if [ -n "${safe}" ]; then
130                 mv configure.in .Recover
131         fi
132         mv -f new configure.in
133 fi
134
135
136 #
137 # End of file.
This page took 0.030552 seconds and 4 git commands to generate.