18 lines
339 B
Makefile
Executable file
18 lines
339 B
Makefile
Executable file
#!/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
|
|
|
|
execute_after_dh_auto_build:
|
|
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
|
|
$(MAKE) -C obj-*/ doc
|
|
endif
|