1
0
Fork 0
libyang/debian/rules
Daniel Baumann 629f433c43
Reordering nodoc filter in rules for consistency.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 08:02:22 +01:00

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
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
$(MAKE) -C obj-*/ doc
endif