[PATCH 1 of 9] Makefile: hg.pot depends on the scripts generating it

Simon Heimberg simohe at besonet.ch
Mon Feb 3 15:00:21 CST 2014


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1384715774 -3600
#      Sun Nov 17 20:16:14 2013 +0100
# Branch stable
# Node ID 06767c63f5065b4c4e990b8395e78a7baab277fe
# Parent  d156e97d5bfb2b9a2ea0560a6cc72929505680c4
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.

diff -r d156e97d5bfb -r 06767c63f506 Makefile
--- a/Makefile	Mon Feb 03 21:18:38 2014 +0100
+++ 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 \


More information about the Mercurial-devel mailing list