aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-20 16:03:47 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-20 16:03:47 +0200
commit827f65d997243fcb3e65a99dc2f373615ae74f68 (patch)
tree39bb5d413743fddeb21ad22c35f2baafd9780739
parentfd9e5515638fe94ceb8f9c14e9ced3c9247345e1 (diff)
check for key dependency
-rwxr-xr-xcontrib/taler-terms-generator.in6
-rw-r--r--debian/control3
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/taler-terms-generator.in b/contrib/taler-terms-generator.in
index 6b4664137..1bf030c16 100755
--- a/contrib/taler-terms-generator.in
+++ b/contrib/taler-terms-generator.in
@@ -143,6 +143,12 @@ while getopts ':a:C:hi:l:o:p:t:' OPTION; do
esac
done
+if ! which sphinx-build > /dev/null
+then
+ echo "Command 'sphinx-build' not found, but required. Please install sphinx."
+ exit 1
+fi
+
BUILDDIR=$(mktemp -d /tmp/taler-terms-XXXXXX)
if [ ! -f "${VERSION}.rst" ]
then
diff --git a/debian/control b/debian/control
index 995b5d3ee..11a4a73ef 100644
--- a/debian/control
+++ b/debian/control
@@ -39,6 +39,9 @@ Depends:
netbase,
${misc:Depends},
${shlibs:Depends}
+Recommends:
+ python3-sphinx,
+ python3-sphinx-rtd-theme
Description: Libraries to talk to a GNU Taler exchange.
The package also contains various files fundamental
to all GNU Taler installations, such as the