File: rules

package info (click to toggle)
libyang 4.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,788 kB
  • sloc: ansic: 127,487; xml: 671; sh: 442; tcl: 318; makefile: 19
file content (18 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download | duplicates (3)
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