d/rules: Support nodoc build profile

This commit is contained in:
Guido Günther
2022-12-06 11:49:13 +01:00
parent dfe2cdc665
commit 94880dbc0d
+5 -1
View File
@@ -2,11 +2,15 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true
endif
%:
dh $@ --builddirectory=_build
override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true -Dman=true
dh_auto_configure -- $(CONFIGURE_OPTS)
override_dh_installudev:
# Make sure all the symlink rules in 60 ran: