.Sanitize now re-computes gettext-related files
[deliverable/binutils-gdb.git] / binutils / .Sanitize
1 # .Sanitize for devo/binutils
2
3 # Each directory to survive its 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 directory.
15
16 Do-first:
17
18
19 # All files listed between the "Things-to-keep:" line and the
20 # "Do-last:" line will be kept. All other files will be removed.
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
28 Makefile.am
29 Makefile.in
30 NEWS
31 README
32 acconfig.h
33 acinclude.m4
34 aclocal.m4
35 addr2line.1
36 addr2line.c
37 ar.1
38 ar.c
39 arlex.l
40 arparse.y
41 arsup.c
42 arsup.h
43 binutils.texi
44 bucomm.c
45 bucomm.h
46 budbg.h
47 coffdump.c
48 coffgrok.c
49 coffgrok.h
50 config.in
51 configure
52 configure.bat
53 configure.com
54 configure.in
55 cxxfilt.man
56 debug.c
57 debug.h
58 deflex.l
59 defparse.y
60 dep-in.sed
61 dlltool.c
62 dlltool.h
63 filemode.c
64 ieee.c
65 is-ranlib.c
66 is-strip.c
67 mac-binutils.r
68 makefile.vms
69 maybe-ranlib.c
70 maybe-strip.c
71 mpw-config.in
72 mpw-make.sed
73 nlmconv.1
74 nlmconv.c
75 nlmconv.h
76 nlmheader.y
77 nm.1
78 nm.c
79 not-ranlib.c
80 not-strip.c
81 objcopy.1
82 objcopy.c
83 objdump.1
84 objdump.c
85 po
86 prdbg.c
87 ranlib.1
88 ranlib.sh
89 rclex.l
90 rcparse.y
91 rdcoff.c
92 rddbg.c
93 resbin.c
94 rescoff.c
95 resrc.c
96 sanity.sh
97 size.1
98 size.c
99 srconv.c
100 stabs.c
101 stamp-h.in
102 strings.1
103 strings.c
104 strip.1
105 sysdump.c
106 sysinfo.y
107 syslex.l
108 sysroff.info
109 testsuite
110 version.c
111 windres.c
112 windres.h
113 wrstabs.c
114
115 Things-to-lose:
116
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
123 Do-last:
124
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
145 xgettext `cat po/POTFILES.in` -o po/binutils.pot
146
147
148 # eof
This page took 0.037523 seconds and 5 git commands to generate.