File: rules

package info (click to toggle)
libyang 3.13.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,152 kB
  • sloc: ansic: 123,593; xml: 671; sh: 442; tcl: 318; makefile: 19
file content (18 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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