* coff-mips.c (mips_relocate_section): Handle MIPS_R_LITERAL like
[deliverable/binutils-gdb.git] / binutils / .Sanitize
CommitLineData
7d1257bb 1# .Sanitize for devo/binutils.
86e4d6e4 2
5fd51993 3# Each directory to survive its way into a release will need a file
86e4d6e4
RP
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
42d11afa 14# done in this directory.
86e4d6e4
RP
15
16Do-first:
17
5fd51993 18if ( echo $* | grep keep\-mpw > /dev/null ) ; then
7d1257bb 19 keep_these_too="mpw-make.in ChangeLog.mpw"
5fd51993 20else
7d1257bb
SS
21 lose_these_too="mpw-make.in ChangeLog.mpw"
22fi
23
24if ( echo $* | grep keep\-gm > /dev/null ) ; then
25 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
26else
27 lose_these_too="mpw-xconfig.in ChangeLog.gm ${lose_these_too}"
5fd51993 28fi
86e4d6e4
RP
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
36Things-to-keep:
37
38ChangeLog
39Makefile.in
9c994225 40NEWS
5a77e916 41README
86e4d6e4
RP
42TODO
43alloca.c
05b47bfb 44ar.1
5a77e916 45ar.c
c0cc6912 46arlex.l
aef3999f 47arparse.y
c0cc6912
SC
48arsup.c
49arsup.h
c83497f5 50binutils.texi
86e4d6e4 51bucomm.c
5a77e916 52bucomm.h
3ac620d4 53c++filt.1
0ce51ae9 54configure.bat
86e4d6e4 55configure.in
e49dde89 56config
86e4d6e4
RP
57filemode.c
58gmalloc.c
5a77e916
SC
59is-ranlib.c
60is-strip.c
5a77e916
SC
61maybe-ranlib.c
62maybe-strip.c
3883531f 63nlmconv.1
d130c9c5
ILT
64nlmconv.c
65nlmconv.h
66nlmheader.y
5a77e916 67nm.1
86e4d6e4 68nm.c
5a77e916
SC
69not-ranlib.c
70not-strip.c
3ac620d4 71objcopy.1
df14d957 72objcopy.c
5a77e916 73objdump.1
86e4d6e4 74objdump.c
5a77e916 75ranlib.1
06a97fbd 76ranlib.sh
aef3999f 77sanity.sh
5a77e916 78size.1
86e4d6e4 79size.c
ba7c8e29
DM
80strings.1
81strings.c
5a77e916 82strip.1
fdee1696 83testsuite
86e4d6e4
RP
84version.c
85
87756e15
RP
86Things-to-lose:
87
86e4d6e4 88Do-last:
d1a7f14f
ILT
89
90ppcfiles="ChangeLog nlmconv.c"
91if ( echo $* | grep keep\-powerpc\-netware > /dev/null ) ; then
92 if [ -n "${verbose}" ] ; then
93 echo Keeping PowerPC NetWare stuff in $ppcfiles.
94 fi
95else
96 if [ -n "${verbose}" ]; then
97 echo -n Removing PowerPC NetWare in `pwd`:
98 fi
99 for f in $ppcfiles ; do
100 if [ -n "${verbose}" ] ; then
101 echo -n " " $f
102 fi
103 sed '/start\-sanitize\-powerpc\-netware/,/end\-sanitize\-powerpc\-netware/d' < $f > new
104 if [ -n "${safe}" ] ; then
105 mv $f .Recover
106 fi
107 mv new $f
108 done
109fi
This page took 0.10255 seconds and 4 git commands to generate.