commit f6c99c78ff3b764f0eda7851ed9ca7f1f63fb5bc
parent 2874742285909b5d98bc486bb874801cdafe6803
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 12 Oct 2023 15:16:56 +0200
check for presence of latexmk
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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$//")