##// END OF EJS Templates
Makefile: remove underscore in var name
Martin Geisler -
r12816:61c73c9d stable
parent child Browse files
Show More
@@ -8,7 +8,7 b' PREFIX=/usr/local'
8 export PREFIX
8 export PREFIX
9 PYTHON=python
9 PYTHON=python
10 PURE=
10 PURE=
11 PYTHON_FILES:=$(shell find mercurial hgext doc -name '*.py')
11 PYFILES:=$(shell find mercurial hgext doc -name '*.py')
12
12
13 help:
13 help:
14 @echo 'Commonly used make targets:'
14 @echo 'Commonly used make targets:'
@@ -85,7 +85,7 b' test-%:'
85
85
86 update-pot: i18n/hg.pot
86 update-pot: i18n/hg.pot
87
87
88 i18n/hg.pot: $(PYTHON_FILES) mercurial/help/*.txt
88 i18n/hg.pot: $(PYFILES) mercurial/help/*.txt
89 $(PYTHON) i18n/hggettext mercurial/commands.py \
89 $(PYTHON) i18n/hggettext mercurial/commands.py \
90 hgext/*.py hgext/*/__init__.py mercurial/help/*.txt > i18n/hg.pot
90 hgext/*.py hgext/*/__init__.py mercurial/help/*.txt > i18n/hg.pot
91 # All strings marked for translation in Mercurial contain
91 # All strings marked for translation in Mercurial contain
@@ -94,7 +94,7 b' i18n/hg.pot: $(PYTHON_FILES) mercurial/h'
94 # parse them even though they are not marked for translation.
94 # parse them even though they are not marked for translation.
95 # Extracting with an explicit encoding of ISO-8859-1 will make
95 # Extracting with an explicit encoding of ISO-8859-1 will make
96 # xgettext "parse" and ignore them.
96 # xgettext "parse" and ignore them.
97 echo $(PYTHON_FILES) | xargs \
97 echo $(PYFILES) | xargs \
98 xgettext --package-name "Mercurial" \
98 xgettext --package-name "Mercurial" \
99 --msgid-bugs-address "<mercurial-devel@selenic.com>" \
99 --msgid-bugs-address "<mercurial-devel@selenic.com>" \
100 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
100 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
General Comments 0
You need to be logged in to leave comments. Login now