Makefile: hg.pot depends on the scripts generating it
authorSimon Heimberg <simohe@besonet.ch>
Sun, 17 Nov 2013 20:16:14 +0100
changeset 20358 4276c906d90e
parent 20356 ec5d4287a426
child 20359 ff6ab0b2ebf7
Makefile: hg.pot depends on the scripts generating it This is convenient when editing this scripts. And translators will get updated translation files even if nothing else has changed.
Makefile
--- a/Makefile	Mon Feb 03 18:09:08 2014 -0600
+++ b/Makefile	Sun Nov 17 20:16:14 2013 +0100
@@ -102,7 +102,7 @@
 
 update-pot: i18n/hg.pot
 
-i18n/hg.pot: $(PYFILES) $(DOCFILES)
+i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n/posplit i18n/hggettext
 	$(PYTHON) i18n/hggettext mercurial/commands.py \
 	  hgext/*.py hgext/*/__init__.py \
 	  mercurial/fileset.py mercurial/revset.py \