summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-11-07 22:33:22 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-11-08 00:21:02 +0000
commit0c244082ddb4b2443ccfbc1c438ead4fda1c33ca (patch)
tree8dd3d5664eed508accc02411affca2220a4f5792
parentdf90a0804dbbbc8be02fcf86cdda6a47e9a16c64 (diff)
po4a: pairwise-pocheck: Force it to be run sometimes
* when building a binary package * when preparing a translation preview Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/control2
-rw-r--r--po4a/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 62a4a11..eef4dca 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
Standards-Version: 3.9.4.0
-Build-Depends: debhelper (>= 9), gettext, po4a
+Build-Depends: debhelper (>= 9), gettext, po4a, tcl
Testsuite: autopkgtest
Vcs-Git: git://git.chiark.greenend.org.uk/~ianmdlvl/dgit.git
Vcs-Browser: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/dgit.git/
diff --git a/po4a/Makefile b/po4a/Makefile
index 3354812..d3663e5 100644
--- a/po4a/Makefile
+++ b/po4a/Makefile
@@ -110,7 +110,7 @@ pairwise-pocheck.check:
t = ../.po4a.translated-only
p = ../po4a
-translated-only: po4a.cfg
+translated-only: po4a.cfg pairwise-pocheck.check
rm -rf $t && mkdir $t
cd $t && ln -s $p/*.po $p/*.pot $p/po4a.cfg .
cd $t && $(PO4A) po4a.cfg
@@ -127,7 +127,7 @@ translated-only: po4a.cfg
pairwise-pocheck.%.check:
./pairwise-pocheck $*
-preview.%: .po4a.%.cfg
+preview.%: .po4a.%.cfg pairwise-pocheck.%.check
$S $(PO4A) $<
$S ./install-documents >/dev/null .$*.translated $@
@ echo '# runes to preview the various final tranlated manpages:'