File: rules

package info (click to toggle)
libnetconf2 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,612 kB
  • sloc: ansic: 37,068; xml: 437; sh: 49; makefile: 20
file content (23 lines) | stat: -rwxr-xr-x 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# needed for CMake that ignores CPPFLAGS
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)

# be strict when comparing symbols in libnetconf2-1
export DPKG_GENSYMBOLS_CHECK_LEVEL=4

%:
	dh ${@} --buildsystem=cmake

execute_after_dh_clean:
	rm -rf doc/html

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_SSH=ON -DENABLE_TLS=ON -DENABLE_DNSSEC=OFF -DENABLE_PYTHON=OFF

execute_after_dh_auto_build:
	dh_auto_build -- doc