1
0
Fork 0
libyang/debian/rules
Daniel Baumann aadf34f95c
Adding debian version 3.1.0+dfsg-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 08:00:30 +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
execute_after_dh_auto_build:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
$(MAKE) -C obj-*/ doc
endif