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

login
register
mail settings
Submitter Simon Heimberg
Date Feb. 3, 2014, 9 p.m.
Message ID <06767c63f5065b4c4e99.1391461221@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/3441/
State Accepted
Commit 4276c906d90ec043430b49f1dd76d2fd058be0d2
Headers show

Comments

Simon Heimberg - Feb. 3, 2014, 9 p.m.
# HG changeset patch
# User Simon Heimberg <simohe@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.

Patch

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 \