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 365f2ff34e8c44162c138886be83e9f18b53dbd1..dcf0e869d54259d46cde7febd8664ed75eb14f65 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 d3663e54ff742897ae3f9b2a9ede1f5bf5cb6346..e88aded12a1c948671a5d0da835e32fceb5df6ac 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