File: rules

package info (click to toggle)
libyang 4.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,096 kB
  • sloc: ansic: 131,389; xml: 671; sh: 448; tcl: 325; makefile: 19
file content (18 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download | duplicates (5)
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