| 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 |
configure_flags = -Dauto_features=enabled |
| 8 |
|
| 9 |
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) |
| 10 |
configure_flags += -Dgtk_doc=true -Dmanpage=true |
| 11 |
else |
| 12 |
configure_flags += -Dgtk_doc=false -Dmanpage=false |
| 13 |
endif |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure -- $(configure_flags) |
| 20 |
|
| 21 |
override_dh_auto_test: |
| 22 |
env -u LD_PRELOAD dbus-run-session -- dh_auto_test -- --timeout-multiplier 6 |
| 23 |
|
| 24 |
override_dh_gnome_clean: |