comparison Makefile @ 8272:79983cfa7efe

Makefile: add more meta data to hg.pot
author Martin Geisler <mg@lazybytes.net>
date Sat, 02 May 2009 11:44:57 +0200
parents 606723f4a327
children a9c1172a025e
comparison
equal deleted inserted replaced
8271:e3d3dad805f9 8272:79983cfa7efe
88 # literals like this '\037\213'. xgettext thinks it has to 88 # literals like this '\037\213'. xgettext thinks it has to
89 # parse these them even though they are not marked for 89 # parse these them even though they are not marked for
90 # translation. Extracting with an explicit encoding of 90 # translation. Extracting with an explicit encoding of
91 # ISO-8859-1 will make xgettext "parse" and ignore them. 91 # ISO-8859-1 will make xgettext "parse" and ignore them.
92 echo $^ | xargs \ 92 echo $^ | xargs \
93 xgettext --from-code ISO-8859-1 --join --sort-by-file \ 93 xgettext --package-name "Mercurial" \
94 --msgid-bugs-address "<mercurial-devel@selenic.com>" \
95 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
96 --from-code ISO-8859-1 --join --sort-by-file \
94 -d hg -p i18n -o hg.pot 97 -d hg -p i18n -o hg.pot
95 98
96 %.po: i18n/hg.pot 99 %.po: i18n/hg.pot
97 msgmerge --no-location --update $@ $^ 100 msgmerge --no-location --update $@ $^
98 101