chiark / gitweb /
po4a: pairwise-pocheck: Force it to be run sometimes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 7 Nov 2018 22:33:22 +0000 (22:33 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 8 Nov 2018 00:21:02 +0000 (00:21 +0000)
 * when building a binary package
 * when preparing a translation preview

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/control
po4a/Makefile

index 62a4a116917c1dd115b95609f0d3718f505bb451..eef4dca84c97ca2279e9f8c7b197b0f25e93f541 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
 Standards-Version: 3.9.4.0
 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/
 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/
index 33548126211d21bc45d2dba6d276d712d9a2113a..d3663e54ff742897ae3f9b2a9ede1f5bf5cb6346 100644 (file)
@@ -110,7 +110,7 @@ pairwise-pocheck.check:
 t = ../.po4a.translated-only
 p = ../po4a
 
 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
        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 $*
 
 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:'
        $S $(PO4A) $<
        $S ./install-documents >/dev/null .$*.translated $@
        @ echo '# runes to preview the various final tranlated manpages:'