aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-12 15:16:56 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-12 15:16:56 +0200
commitf6c99c78ff3b764f0eda7851ed9ca7f1f63fb5bc (patch)
tree8111e9516d6c56ba9793517c244a1b5384e4d236 /contrib
parent2874742285909b5d98bc486bb874801cdafe6803 (diff)
check for presence of latexmk
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/taler-terms-generator.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/taler-terms-generator.in b/contrib/taler-terms-generator.in
index 6b5466cfc..9632779c5 100755
--- a/contrib/taler-terms-generator.in
+++ b/contrib/taler-terms-generator.in
@@ -155,6 +155,12 @@ then
exit 1
fi
+if ! which latexmk > /dev/null
+then
+ echo "Command 'latexmk' not found, but required. Please install latexmk." 1>&2
+ exit 1
+fi
+
# We append ".rst" if needed, remove if given on command-line
# shellcheck disable=SC2001
VERSION=$(echo "${VERSION}" | sed -e "s/\.rst$//")