| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 |
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 6 |
|
| 7 |
ifneq (,$(filter libnice-doc,$(shell dh_listpackages))) |
| 8 |
BUILD_DOCS:=-Dgtk_doc=enabled |
| 9 |
else |
| 10 |
BUILD_DOCS:=-Dgtk_doc=disabled |
| 11 |
endif |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_auto_configure: |
| 17 |
dh_auto_configure -- -Dgupnp=enabled \ |
| 18 |
-Dgstreamer=enabled \ |
| 19 |
-Dintrospection=enabled \ |
| 20 |
$(BUILD_DOCS) |
| 21 |
|
| 22 |
override_dh_installchangelogs: |
| 23 |
dh_installchangelogs NEWS |
| 24 |
|
| 25 |
override_dh_auto_test: |