##// END OF EJS Templates
Makefile: var for documentation files
Martin Geisler -
r12817:37237092 stable
parent child Browse files
Show More
@@ -9,6 +9,7 b' export PREFIX'
9 9 PYTHON=python
10 10 PURE=
11 11 PYFILES:=$(shell find mercurial hgext doc -name '*.py')
12 DOCFILES=mercurial/help/*.txt
12 13
13 14 help:
14 15 @echo 'Commonly used make targets:'
@@ -85,9 +86,9 b' test-%:'
85 86
86 87 update-pot: i18n/hg.pot
87 88
88 i18n/hg.pot: $(PYFILES) mercurial/help/*.txt
89 i18n/hg.pot: $(PYFILES) $(DOCFILES)
89 90 $(PYTHON) i18n/hggettext mercurial/commands.py \
90 hgext/*.py hgext/*/__init__.py mercurial/help/*.txt > i18n/hg.pot
91 hgext/*.py hgext/*/__init__.py $(DOCFILES) > i18n/hg.pot
91 92 # All strings marked for translation in Mercurial contain
92 93 # ASCII characters only. But some files contain string
93 94 # literals like this '\037\213'. xgettext thinks it has to
General Comments 0
You need to be logged in to leave comments. Login now