* m10300-opc.c (asr, lsr, asl): Fix am33 single bit shift opcode.
[deliverable/binutils-gdb.git] / binutils / .Sanitize
... / ...
CommitLineData
1# .Sanitize for devo/binutils
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
16Do-first:
17
18
19# All files listed between the "Things-to-keep:" line and the
20# "Do-last:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
27ChangeLog
28Makefile.am
29Makefile.in
30NEWS
31README
32acconfig.h
33acinclude.m4
34aclocal.m4
35addr2line.1
36addr2line.c
37ar.1
38ar.c
39arlex.l
40arparse.y
41arsup.c
42arsup.h
43binutils.texi
44bucomm.c
45bucomm.h
46budbg.h
47coffdump.c
48coffgrok.c
49coffgrok.h
50config.in
51configure
52configure.bat
53configure.com
54configure.in
55cxxfilt.man
56debug.c
57debug.h
58deflex.l
59defparse.y
60dep-in.sed
61dlltool.c
62dlltool.h
63filemode.c
64ieee.c
65is-ranlib.c
66is-strip.c
67mac-binutils.r
68makefile.vms-in
69maybe-ranlib.c
70maybe-strip.c
71mpw-config.in
72mpw-make.sed
73nlmconv.1
74nlmconv.c
75nlmconv.h
76nlmheader.y
77nm.1
78nm.c
79not-ranlib.c
80not-strip.c
81objcopy.1
82objcopy.c
83objdump.1
84objdump.c
85po
86prdbg.c
87ranlib.1
88ranlib.sh
89rclex.l
90rcparse.y
91rdcoff.c
92rddbg.c
93readelf.c
94resbin.c
95rescoff.c
96resrc.c
97resres.c
98sanity.sh
99size.1
100size.c
101srconv.c
102stabs.c
103stamp-h.in
104strings.1
105strings.c
106strip.1
107sysdump.c
108sysinfo.y
109syslex.l
110sysroff.info
111testsuite
112version.c
113windres.c
114windres.h
115winduni.c
116winduni.h
117wrstabs.c
118
119Things-to-lose:
120
121
122
123# The lines between the "Do-last:" line and the end of the file
124# are executed as a /bin/sh shell script after everything else is
125# done.
126
127Do-last:
128
129v850e_files="readelf.c"
130if ( echo $* | grep keep\-v850e > /dev/null ) ; then
131 for i in $v850e_files ; do
132 if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
133 if [ -n "${verbose}" ] ; then
134 echo Keeping v850e stuff in $i
135 fi
136 fi
137 done
138else
139 for i in $v850e_files ; do
140 if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
141 if [ -n "${verbose}" ] ; then
142 echo Removing traces of \"v850e\" from $i...
143 fi
144 cp $i new
145 sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
146 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
147 if [ -n "${verbose}" ] ; then
148 echo Caching $i in .Recover...
149 fi
150 mv $i .Recover
151 fi
152 mv new $i
153 fi
154 done
155fi
156
157m32rx_files="readelf.c"
158if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
159 for i in $m32rx_files ; do
160 if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
161 if [ -n "${verbose}" ] ; then
162 echo Keeping m32rx stuff in $i
163 fi
164 fi
165 done
166else
167 for i in $m32rx_files ; do
168 if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then
169 if [ -n "${verbose}" ] ; then
170 echo Removing traces of \"m32rx\" from $i...
171 fi
172 cp $i new
173 sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' < $i > new
174 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
175 if [ -n "${verbose}" ] ; then
176 echo Caching $i in .Recover...
177 fi
178 mv $i .Recover
179 fi
180 mv new $i
181 fi
182 done
183fi
184
185# This must come after all other sanitizations. Re-sanitize the .pot
186# file.
187if [ -n "${verbose}" ]; then
188 echo Re-computing files for gettext ...
189fi
190
191if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
192 if [ -n "${verbose}" ]; then
193 echo Caching po/POTFILES.in in .Recover...
194 fi
195 mv po/POTFILES.in po/.Recover
196fi
197find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
198
199if [ -n "${safe}" -a ! -f po/.Recover/binutils.pot ]; then
200 if [ -n "${verbose}" ]; then
201 echo Caching po/binutils.pot in .Recover...
202 fi
203 mv po/binutils.pot po/.Recover
204fi
205# If this fails, Sanitization must fail.
206xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/binutils.pot || exit 1
207
208# eof
This page took 0.027205 seconds and 4 git commands to generate.