File: rules

package info (click to toggle)
libnice 0.1.23-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,736 kB
  • sloc: ansic: 39,024; xml: 129; sh: 48; python: 28; makefile: 18
file content (25 lines) | stat: -rwxr-xr-x 571 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

ifneq (,$(filter libnice-doc,$(shell dh_listpackages)))
  BUILD_DOCS:=-Dgtk_doc=enabled
else
  BUILD_DOCS:=-Dgtk_doc=disabled
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dgupnp=enabled \
	                     -Dgstreamer=enabled \
	                     -Dintrospection=enabled \
			     $(BUILD_DOCS)

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_auto_test: