d/rules: Support nodoc build profile
This commit is contained in:
Vendored
+5
-1
@@ -2,11 +2,15 @@
|
|||||||
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
|
||||||
|
CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --builddirectory=_build
|
dh $@ --builddirectory=_build
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
dh_auto_configure -- -Dgtk_doc=true -Dman=true
|
dh_auto_configure -- $(CONFIGURE_OPTS)
|
||||||
|
|
||||||
override_dh_installudev:
|
override_dh_installudev:
|
||||||
# Make sure all the symlink rules in 60 ran:
|
# Make sure all the symlink rules in 60 ran:
|
||||||
|
|||||||
Reference in New Issue
Block a user