2025-02-05 08:00:30 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh ${@}
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- \
|
|
|
|
-DCMAKE_BUILD_TYPE:String="Release" \
|
|
|
|
-DENABLE_TESTS=ON
|
|
|
|
|
|
|
|
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
|
2025-02-05 08:02:22 +01:00
|
|
|
execute_after_dh_auto_build:
|
2025-02-05 08:00:30 +01:00
|
|
|
$(MAKE) -C obj-*/ doc
|
|
|
|
endif
|