chiark / gitweb /
po4a: pairwise-pocheck: Provide make targets to invoke it explicitly
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 7 Nov 2018 22:33:06 +0000 (22:33 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 7 Nov 2018 23:08:30 +0000 (23:08 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
po4a/Makefile

index c759ce841a44962477b9676a887709e51d7c473b..33548126211d21bc45d2dba6d276d712d9a2113a 100644 (file)
 #   tree.
 #
 #   make targets:  install
+#
+# Check:
+#
+#   make targets:  check
+#                  pairwise-pocheck.check
 
 
 default: pofiles
@@ -84,6 +89,8 @@ PO4A ?= po4a
 
 all update: translated
 
+check: po4a.cfg.check pairwise-pocheck.check
+
 pofiles: po4a.cfg
        $(PO4A) --no-translations $<
 
@@ -97,6 +104,9 @@ po4a.cfg.check: list-documents
        ./$< >$@.tmp
        diff po4a.cfg $@.tmp
 
+pairwise-pocheck.check:
+       ./pairwise-pocheck
+
 t = ../.po4a.translated-only
 p = ../po4a
 
@@ -114,6 +124,9 @@ translated-only: po4a.cfg
 
 .PRECIOUS: .po4a.%.cfg
 
+pairwise-pocheck.%.check:
+       ./pairwise-pocheck $*
+
 preview.%: .po4a.%.cfg
        $S $(PO4A) $<
        $S ./install-documents >/dev/null .$*.translated $@