Skip to content
Snippets Groups Projects
Commit 61c73c9d authored by Martin Geisler's avatar Martin Geisler
Browse files

Makefile: remove underscore in var name

parent 079a618e
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
export PREFIX
PYTHON=python
PURE=
PYTHON_FILES:=$(shell find mercurial hgext doc -name '*.py')
PYFILES:=$(shell find mercurial hgext doc -name '*.py')
help:
@echo 'Commonly used make targets:'
......@@ -85,7 +85,7 @@
update-pot: i18n/hg.pot
i18n/hg.pot: $(PYTHON_FILES) mercurial/help/*.txt
i18n/hg.pot: $(PYFILES) mercurial/help/*.txt
$(PYTHON) i18n/hggettext mercurial/commands.py \
hgext/*.py hgext/*/__init__.py mercurial/help/*.txt > i18n/hg.pot
# All strings marked for translation in Mercurial contain
......@@ -94,7 +94,7 @@
# parse them even though they are not marked for translation.
# Extracting with an explicit encoding of ISO-8859-1 will make
# xgettext "parse" and ignore them.
echo $(PYTHON_FILES) | xargs \
echo $(PYFILES) | xargs \
xgettext --package-name "Mercurial" \
--msgid-bugs-address "<mercurial-devel@selenic.com>" \
--copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment