# HG changeset patch # User Martin Geisler # Date 1287845685 -7200 # Node ID 372370923b304cc366cac768dce41b1f9ca5bded # Parent 61c73c9dce1d6aeba2ae136a7424ee8dc34c37e0 Makefile: var for documentation files diff -r 61c73c9dce1d -r 372370923b30 Makefile --- a/Makefile Sat Oct 23 16:53:25 2010 +0200 +++ b/Makefile Sat Oct 23 16:54:45 2010 +0200 @@ -9,6 +9,7 @@ PYTHON=python PURE= PYFILES:=$(shell find mercurial hgext doc -name '*.py') +DOCFILES=mercurial/help/*.txt help: @echo 'Commonly used make targets:' @@ -85,9 +86,9 @@ update-pot: i18n/hg.pot -i18n/hg.pot: $(PYFILES) mercurial/help/*.txt +i18n/hg.pot: $(PYFILES) $(DOCFILES) $(PYTHON) i18n/hggettext mercurial/commands.py \ - hgext/*.py hgext/*/__init__.py mercurial/help/*.txt > i18n/hg.pot + hgext/*.py hgext/*/__init__.py $(DOCFILES) > i18n/hg.pot # All strings marked for translation in Mercurial contain # ASCII characters only. But some files contain string # literals like this '\037\213'. xgettext thinks it has to