aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules5
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 7415e63..96b3c9b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@ Maintainer: Guilhem Moulin <guilhem@debian.org>
Build-Depends: debhelper-compat (= 13),
dovecot-imapd (>= 1:2.3~) <!nocheck>,
dovecot-lmtpd (>= 1:2~) <!nocheck>,
- jq,
+ jq <!nodoc>,
libconfig-tiny-perl <!nocheck>,
libdbd-sqlite3-perl <!nocheck>,
libnet-ssleay-perl (>= 1.88~) <!nocheck>,
openssl (>= 1.1.1~) <!nocheck>,
- pandoc (>= 2.1~),
+ pandoc (>= 2.1~) <!nodoc>,
procps <!nocheck>,
sqlite3 <!nocheck>,
xxd <!nocheck>
diff --git a/debian/rules b/debian/rules
index b4b5d0b..464067d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@ MAKEFLAGS = prefix=/usr sitelib=/usr/share/perl5
%:
dh $@
+ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_build:
+ dh_auto_build -- all-nodoc
+endif
+
override_dh_auto_test:
# /dev/shm, the default, might be mounted with noexec
dh_auto_test -- TMPDIR=/var/tmp