]>
Commit | Line | Data |
---|---|---|
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 | ||
16 | Do-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 | ||
24 | Things-to-keep: | |
08942d11 | 25 | COPYING |
9ef1e2da | 26 | PORTING |
86835b01 | 27 | doc |
08942d11 | 28 | ChangeLog |
13b351cc | 29 | Makefile.dos |
08942d11 RP |
30 | Makefile.in |
31 | TODO | |
8c1891af | 32 | VERSION |
08942d11 RP |
33 | aout32.c |
34 | aout64.c | |
35 | aoutf1.h | |
08942d11 | 36 | aoutx.h |
4846e30f | 37 | aout-adobe.c |
9e2b3581 | 38 | aout-encap.c |
a89f7423 | 39 | aout-target.h |
08942d11 RP |
40 | archive.c |
41 | archures.c | |
901c5bfd | 42 | bfd-in.h |
08942d11 | 43 | bfd.c |
08942d11 RP |
44 | bout.c |
45 | cache.c | |
e181b631 | 46 | ctor.c |
156e3852 | 47 | coff-a29k.c |
71e34032 | 48 | coff-h8300.c |
156e3852 JG |
49 | coff-i386.c |
50 | coff-i960.c | |
51 | coff-m68k.c | |
52 | coff-m88k.c | |
53 | coff-mips.c | |
583f79e9 | 54 | coff-msym.c |
156e3852 | 55 | coff-rs6000.c |
c7551f76 | 56 | coff-we32k.c |
d41ab714 | 57 | coff-z8k.c |
08942d11 | 58 | coffcode.h |
fb1c4481 | 59 | config |
13b351cc | 60 | configure.bat |
08942d11 | 61 | configure.in |
5a5fa368 | 62 | configure.host |
6f715d66 | 63 | core.c |
08942d11 | 64 | demo64.c |
ea3768dc | 65 | elf.c |
08942d11 | 66 | filemode.c |
6f715d66 | 67 | format.c |
608de555 | 68 | gen-aout.c |
08942d11 | 69 | host-aout.c |
90c7c720 | 70 | hosts |
76b731f9 | 71 | hppa.c |
b7de6963 | 72 | i386aout.c |
256b39e0 | 73 | i386bsd.c |
afff60cd | 74 | i386linux.c |
08942d11 | 75 | ieee.c |
141c97ea | 76 | libaout.h |
901c5bfd | 77 | libbfd-in.h |
63ffe5ef SC |
78 | cpu-a29k.c |
79 | cpu-i386.c | |
80 | cpu-m68k.c | |
81 | cpu-mips.c | |
82 | cpu-vax.c | |
83 | cpu-h8300.c | |
76b731f9 | 84 | cpu-hppa.c |
63ffe5ef SC |
85 | cpu-i960.c |
86 | cpu-m88k.c | |
cc97dfbb | 87 | cpu-rs6000.c |
c7551f76 | 88 | cpu-we32k.c |
d41ab714 | 89 | cpu-z8k.c |
1d535e75 | 90 | hp300bsd.c |
63ffe5ef | 91 | init.c |
63ffe5ef | 92 | cpu-sparc.c |
08942d11 RP |
93 | libbfd.c |
94 | libbfd.h | |
901c5bfd | 95 | libcoff-in.h |
08942d11 | 96 | libcoff.h |
76b731f9 | 97 | libhppa.h |
08942d11 RP |
98 | libieee.h |
99 | liboasys.h | |
08942d11 RP |
100 | newsos3.c |
101 | oasys.c | |
102 | opncls.c | |
6f715d66 | 103 | reloc.c |
cf15d9e9 | 104 | rs6000-core.c |
42c39b69 | 105 | sco-core.c |
e98e6ec1 | 106 | seclet.c |
dc72b0b6 | 107 | seclet.h |
6f715d66 | 108 | section.c |
08942d11 | 109 | srec.c |
7de245d3 | 110 | stab-syms.c |
08942d11 | 111 | sunos.c |
6f715d66 | 112 | syms.c |
08942d11 | 113 | targets.c |
a14b2941 | 114 | tekhex.c |
08942d11 RP |
115 | trad-core.c |
116 | trad-core.h | |
117 | ||
118 | Do-last: | |
119 | ||
446545dd | 120 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
5d74c1e5 | 121 | echo Keeping v9 in aoutx.h |
446545dd JG |
122 | else |
123 | echo Sanitizing v9 in aoutx.h | |
124 | rm -f new | |
125 | while grep -s start-sanitize-v9 aoutx.h ; do | |
126 | sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new | |
01f0a88e RP |
127 | if [ -n "${safe}" ] ; then |
128 | mv aoutx.h .Recover | |
129 | else | |
130 | rm aoutx.h | |
131 | fi | |
446545dd JG |
132 | mv new aoutx.h |
133 | done | |
134 | fi | |
135 | ||
08942d11 RP |
136 | echo Done in `pwd`. |
137 | ||
08942d11 | 138 | # End of file. |