chiark / gitweb /
po4a: pairwise-pocheck: Better handling for missing tcl
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 8 Nov 2018 00:19:39 +0000 (00:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 8 Nov 2018 00:21:02 +0000 (00:21 +0000)
Mention in the README, and add a specific error check.

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

index 365f2ff..dcf0e86 100644 (file)
--- a/po/README
+++ b/po/README
@@ -125,6 +125,7 @@ In po4a/
                        translated and compiled manpages which can
                        be previewed with `man -l', and prints a
                        list of appropriate `man -l' commands.
+                       (Requires `tcl' to be installed.)
 
 
 Committing and contributing your translation
index d3663e5..e88aded 100644 (file)
@@ -125,6 +125,7 @@ translated-only: po4a.cfg pairwise-pocheck.check
 .PRECIOUS: .po4a.%.cfg
 
 pairwise-pocheck.%.check:
+       @tclsh /dev/null || printf ':;:; Please run   apt-get install tcl\n'
        ./pairwise-pocheck $*
 
 preview.%: .po4a.%.cfg pairwise-pocheck.%.check