Save scripts.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # Sanitize.in for devo/bfd.
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
16 Do-first:
17
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
24 Things-to-keep:
25 COPYING
26 PORTING
27 doc
28 ChangeLog
29 Makefile.dos
30 Makefile.in
31 TODO
32 VERSION
33 aout32.c
34 aout64.c
35 aoutf1.h
36 aoutx.h
37 aout-target.h
38 archive.c
39 archures.c
40 bfd-in.h
41 bfd.c
42 bout.c
43 cache.c
44 ctor.c
45 coff-a29k.c
46 coff-h8300.c
47 coff-i386.c
48 coff-i960.c
49 coff-m68k.c
50 coff-m88k.c
51 coff-mips.c
52 coff-msym.c
53 coff-rs6000.c
54 coffcode.h
55 config
56 configure.bat
57 configure.in
58 core.c
59 demo64.c
60 elf.c
61 filemode.c
62 format.c
63 gen-aout.c
64 host-aout.c
65 hosts
66 i386aout.c
67 ieee.c
68 libaout.h
69 libbfd-in.h
70 cpu-a29k.c
71 cpu-i386.c
72 cpu-m68k.c
73 cpu-mips.c
74 cpu-vax.c
75 cpu-h8300.c
76 cpu-i960.c
77 cpu-m88k.c
78 cpu-rs6000.c
79 hp300bsd.c
80 init.c
81 cpu-sparc.c
82 libbfd.c
83 libbfd.h
84 libcoff-in.h
85 libcoff.h
86 libieee.h
87 liboasys.h
88 newsos3.c
89 oasys.c
90 opncls.c
91 reloc.c
92 rs6000-core.c
93 scripts
94 seclet.c
95 seclet.h
96 section.c
97 srec.c
98 stab-syms.c
99 sunos.c
100 syms.c
101 targets.c
102 tekhex.c
103 trad-core.c
104 trad-core.h
105
106 Do-last:
107
108 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
109 echo Keeping v9 in aoutx.h
110 else
111 echo Sanitizing v9 in aoutx.h
112 rm -f new
113 while grep -s start-sanitize-v9 aoutx.h ; do
114 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
115 if [ -n "${safe}" ] ; then
116 mv aoutx.h .Recover
117 else
118 rm aoutx.h
119 fi
120 mv new aoutx.h
121 done
122 fi
123
124 echo Done in `pwd`.
125
126 # End of file.
This page took 0.037772 seconds and 5 git commands to generate.