diff options
author | Niels Thykier <niels@thykier.net> | 2017-06-29 19:37:00 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-06-29 19:41:00 +0000 |
commit | 53933594de9a3555c16e2078b18888744c1f0f95 (patch) | |
tree | 80e98700c2c2439542e842413baf5ccd862920fe /Makefile | |
parent | 9047f081757acd04f18d0f68f27f74042dea65dd (diff) | |
download | debhelper-53933594de9a3555c16e2078b18888744c1f0f95.tar.gz |
Makefile: Make po4a run in parallel with English pod2man
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; \ |