From: Ian Jackson Date: Thu, 8 Nov 2018 00:19:39 +0000 (+0000) Subject: po4a: pairwise-pocheck: Better handling for missing tcl X-Git-Tag: archive/debian/8.1~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9e8a8c1d5abdbdbbe8f7edffd9b3de6ba5edbb4d;p=dgit.git po4a: pairwise-pocheck: Better handling for missing tcl Mention in the README, and add a specific error check. Signed-off-by: Ian Jackson --- diff --git a/po/README b/po/README index 365f2ff3..dcf0e869 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 d3663e54..e88aded1 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