Commit | Line | Data |
---|---|---|
7d2ac701 | 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 | |
16 | Do-first: | |
17 | ||
7d2ac701 | 18 | |
86e4d6e4 | 19 | # All files listed between the "Things-to-keep:" line and the |
7d2ac701 | 20 | # "Do-last:" line will be kept. All other files will be removed. |
86e4d6e4 RP |
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 | ||
25 | Things-to-keep: | |
26 | ||
27 | ChangeLog | |
d467c30d | 28 | Makefile.am |
86e4d6e4 | 29 | Makefile.in |
9c994225 | 30 | NEWS |
5a77e916 | 31 | README |
5ab6ca68 | 32 | acconfig.h |
d467c30d | 33 | acinclude.m4 |
5ab6ca68 | 34 | aclocal.m4 |
fb38844d ILT |
35 | addr2line.1 |
36 | addr2line.c | |
05b47bfb | 37 | ar.1 |
5a77e916 | 38 | ar.c |
c0cc6912 | 39 | arlex.l |
aef3999f | 40 | arparse.y |
c0cc6912 SC |
41 | arsup.c |
42 | arsup.h | |
c83497f5 | 43 | binutils.texi |
86e4d6e4 | 44 | bucomm.c |
5a77e916 | 45 | bucomm.h |
e1c14599 | 46 | budbg.h |
e52e2acd SC |
47 | coffdump.c |
48 | coffgrok.c | |
49 | coffgrok.h | |
320d4f29 | 50 | config.in |
5ab6ca68 | 51 | configure |
0ce51ae9 | 52 | configure.bat |
e72afe26 | 53 | configure.com |
86e4d6e4 | 54 | configure.in |
c6474837 | 55 | cxxfilt.man |
e1c14599 ILT |
56 | debug.c |
57 | debug.h | |
765e60a9 | 58 | deflex.l |
7d2ac701 ILT |
59 | defparse.y |
60 | dep-in.sed | |
61 | dlltool.c | |
62 | dlltool.h | |
86e4d6e4 | 63 | filemode.c |
f5167986 | 64 | ieee.c |
5a77e916 SC |
65 | is-ranlib.c |
66 | is-strip.c | |
108d499e | 67 | mac-binutils.r |
e10a4fc4 | 68 | makefile.vms |
5a77e916 SC |
69 | maybe-ranlib.c |
70 | maybe-strip.c | |
162bcd89 | 71 | mpw-config.in |
108d499e | 72 | mpw-make.sed |
3883531f | 73 | nlmconv.1 |
d130c9c5 ILT |
74 | nlmconv.c |
75 | nlmconv.h | |
76 | nlmheader.y | |
5a77e916 | 77 | nm.1 |
86e4d6e4 | 78 | nm.c |
5a77e916 SC |
79 | not-ranlib.c |
80 | not-strip.c | |
3ac620d4 | 81 | objcopy.1 |
df14d957 | 82 | objcopy.c |
5a77e916 | 83 | objdump.1 |
86e4d6e4 | 84 | objdump.c |
7d2ac701 | 85 | po |
e1c14599 | 86 | prdbg.c |
5a77e916 | 87 | ranlib.1 |
06a97fbd | 88 | ranlib.sh |
1d371d35 ILT |
89 | rclex.l |
90 | rcparse.y | |
7d2ac701 ILT |
91 | rdcoff.c |
92 | rddbg.c | |
662cc41e | 93 | resbin.c |
e4486bdf | 94 | rescoff.c |
1d371d35 | 95 | resrc.c |
aef3999f | 96 | sanity.sh |
5a77e916 | 97 | size.1 |
86e4d6e4 | 98 | size.c |
e52e2acd | 99 | srconv.c |
e1c14599 | 100 | stabs.c |
d467c30d | 101 | stamp-h.in |
ba7c8e29 DM |
102 | strings.1 |
103 | strings.c | |
5a77e916 | 104 | strip.1 |
e52e2acd SC |
105 | sysdump.c |
106 | sysinfo.y | |
107 | syslex.l | |
108 | sysroff.info | |
fdee1696 | 109 | testsuite |
86e4d6e4 | 110 | version.c |
1d371d35 | 111 | windres.c |
7d2ac701 | 112 | windres.h |
5a52c5f8 | 113 | wrstabs.c |
86e4d6e4 | 114 | |
87756e15 RP |
115 | Things-to-lose: |
116 | ||
7d2ac701 ILT |
117 | |
118 | ||
119 | # The lines between the "Do-last:" line and the end of the file | |
120 | # are executed as a /bin/sh shell script after everything else is | |
121 | # done. | |
122 | ||
86e4d6e4 | 123 | Do-last: |
7d2ac701 | 124 | |
3d96e9b4 TT |
125 | # This must come after all other sanitizations. Re-sanitize the .pot |
126 | # file. | |
127 | if [ -n "${verbose}" ]; then | |
128 | echo Re-computing files for gettext ... | |
129 | fi | |
130 | ||
131 | if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then | |
132 | if [ -n "${verbose}" ]; then | |
133 | echo Caching po/POTFILES.in in .Recover... | |
134 | fi | |
135 | mv po/POTFILES.in po/.Recover | |
136 | fi | |
137 | find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in | |
138 | ||
139 | if [ -n "${safe}" -a ! -f po/.Recover/binutils.pot ]; then | |
140 | if [ -n "${verbose}" ]; then | |
141 | echo Caching po/binutils.pot in .Recover... | |
142 | fi | |
143 | mv po/binutils.pot po/.Recover | |
144 | fi | |
d6f3da9b | 145 | # If this fails, Sanitization must fail. |
ee66b572 | 146 | xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/binutils.pot || exit 1 |
3d96e9b4 | 147 | |
7d2ac701 | 148 | # eof |