Makefile
branchstable
changeset 12817 372370923b30
parent 12816 61c73c9dce1d
child 12854 5d3f3d577218
--- 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