summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-11-08 00:19:39 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-11-08 00:21:02 +0000
commit9e8a8c1d5abdbdbbe8f7edffd9b3de6ba5edbb4d (patch)
tree080251642e0f5cb6bf99b33723c09d14aebdaa34
parent0fc3359d6fa6d667e974955e2e93179831c87ade (diff)
po4a: pairwise-pocheck: Better handling for missing tcl
Mention in the README, and add a specific error check. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--po/README1
-rw-r--r--po4a/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/po/README b/po/README
index 365f2ff..dcf0e86 100644
--- 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
diff --git a/po4a/Makefile b/po4a/Makefile
index d3663e5..e88aded 100644
--- a/po4a/Makefile
+++ b/po4a/Makefile
@@ -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