[debhelper-devel] [debhelper] 02/04: Makefile: Make po4a run in parallel with English pod2man
Niels Thykier
nthykier at moszumanska.debian.org
Thu Jun 29 19:51:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 53933594de9a3555c16e2078b18888744c1f0f95
Author: Niels Thykier <niels at thykier.net>
Date: Thu Jun 29 19:37:00 2017 +0000
Makefile: Make po4a run in parallel with English pod2man
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 286dbaa..c82b8a4 100644
--- a/Makefile
+++ b/Makefile
@@ -50,16 +50,20 @@ POD2MAN_FLAGS=--utf8 -c Debhelper -r "$(VERSION)"
ifneq ($(USE_NLS),no)
# l10n to be built is determined from .po files
LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
+LANG_TARGETS = po4a-stamp translations
else
LANGS=
+LANG_TARGETS =
endif
-build: version debhelper.7 debhelper-obsolete-compat.7 translations $(MANPAGES)
+build: $(LANG_TARGETS) version debhelper.7 debhelper-obsolete-compat.7 $(MANPAGES)
-translations:
+po4a-stamp:
+ po4a --previous -L UTF-8 man/po4a/po4a.cfg
+
+translations: po4a-stamp
ifneq ($(USE_NLS),no)
- po4a --previous -L UTF-8 man/po4a/po4a.cfg
set -e; \
for lang in $(LANGS); do \
dir=man/$$lang; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list