Show More
@@ -9,7 +9,8 b' PYTHON=python' | |||||
9 | $(eval HGROOT := $(shell pwd)) |
|
9 | $(eval HGROOT := $(shell pwd)) | |
10 | HGPYTHONS ?= $(HGROOT)/build/pythons |
|
10 | HGPYTHONS ?= $(HGROOT)/build/pythons | |
11 | PURE= |
|
11 | PURE= | |
12 |
PYFILES |
|
12 | PYFILESCMD=find mercurial hgext doc -name '*.py' | |
|
13 | PYFILES:=$(shell $(PYFILESCMD)) | |||
13 | DOCFILES=mercurial/help/*.txt |
|
14 | DOCFILES=mercurial/help/*.txt | |
14 | export LANGUAGE=C |
|
15 | export LANGUAGE=C | |
15 | export LC_ALL=C |
|
16 | export LC_ALL=C | |
@@ -145,7 +146,7 b' i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n' | |||||
145 | # parse them even though they are not marked for translation. |
|
146 | # parse them even though they are not marked for translation. | |
146 | # Extracting with an explicit encoding of ISO-8859-1 will make |
|
147 | # Extracting with an explicit encoding of ISO-8859-1 will make | |
147 | # xgettext "parse" and ignore them. |
|
148 | # xgettext "parse" and ignore them. | |
148 |
|
|
149 | $(PYFILESCMD) | xargs \ | |
149 | xgettext --package-name "Mercurial" \ |
|
150 | xgettext --package-name "Mercurial" \ | |
150 | --msgid-bugs-address "<mercurial-devel@mercurial-scm.org>" \ |
|
151 | --msgid-bugs-address "<mercurial-devel@mercurial-scm.org>" \ | |
151 | --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \ |
|
152 | --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \ |
General Comments 0
You need to be logged in to leave comments.
Login now