]> Git Repo - binutils.git/blame - bfd/.Sanitize
Lots of changes from gas-bfd work. Includes:
[binutils.git] / bfd / .Sanitize
CommitLineData
aee06af3 1# Sanitize.in for devo/bfd.
08942d11
RP
2
3# Each directory to survive it's 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
16Do-first:
17
08942d11
RP
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
08942d11 25COPYING
9ef1e2da 26PORTING
86835b01 27doc
08942d11 28ChangeLog
13b351cc 29Makefile.dos
08942d11
RP
30Makefile.in
31TODO
8c1891af 32VERSION
08942d11
RP
33aout32.c
34aout64.c
35aoutf1.h
08942d11 36aoutx.h
a89f7423 37aout-target.h
08942d11
RP
38archive.c
39archures.c
901c5bfd 40bfd-in.h
08942d11 41bfd.c
08942d11
RP
42bout.c
43cache.c
e181b631 44ctor.c
156e3852 45coff-a29k.c
71e34032 46coff-h8300.c
156e3852
JG
47coff-i386.c
48coff-i960.c
49coff-m68k.c
50coff-m88k.c
51coff-mips.c
583f79e9 52coff-msym.c
156e3852 53coff-rs6000.c
08942d11 54coffcode.h
fb1c4481 55config
13b351cc 56configure.bat
08942d11 57configure.in
6f715d66 58core.c
08942d11 59demo64.c
ea3768dc 60elf.c
08942d11 61filemode.c
6f715d66 62format.c
608de555 63gen-aout.c
08942d11 64host-aout.c
90c7c720 65hosts
b7de6963 66i386aout.c
08942d11 67ieee.c
141c97ea 68libaout.h
901c5bfd 69libbfd-in.h
63ffe5ef
SC
70cpu-a29k.c
71cpu-i386.c
72cpu-m68k.c
73cpu-mips.c
74cpu-vax.c
75cpu-h8300.c
76cpu-i960.c
77cpu-m88k.c
cc97dfbb 78cpu-rs6000.c
1d535e75 79hp300bsd.c
63ffe5ef 80init.c
63ffe5ef 81cpu-sparc.c
08942d11
RP
82libbfd.c
83libbfd.h
901c5bfd 84libcoff-in.h
08942d11
RP
85libcoff.h
86libieee.h
87liboasys.h
08942d11
RP
88newsos3.c
89oasys.c
90opncls.c
6f715d66 91reloc.c
cf15d9e9 92rs6000-core.c
e98e6ec1 93seclet.c
dc72b0b6 94seclet.h
6f715d66 95section.c
08942d11 96srec.c
7de245d3 97stab-syms.c
08942d11 98sunos.c
6f715d66 99syms.c
08942d11 100targets.c
a14b2941 101tekhex.c
08942d11
RP
102trad-core.c
103trad-core.h
104
105Do-last:
106
446545dd
JG
107if ( echo $* | grep keep\-v9 > /dev/null ) ; then
108 echo Keeping v9 in aoutx.h
109else
110 echo Sanitizing v9 in aoutx.h
111 rm -f new
112 while grep -s start-sanitize-v9 aoutx.h ; do
113 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
01f0a88e
RP
114 if [ -n "${safe}" ] ; then
115 mv aoutx.h .Recover
116 else
117 rm aoutx.h
118 fi
446545dd
JG
119 mv new aoutx.h
120 done
121fi
122
08942d11
RP
123echo Done in `pwd`.
124
08942d11 125# End of file.
This page took 0.114077 seconds and 4 git commands to generate.