debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 |
| 4 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 | |
| 6 | include /usr/share/dpkg/architecture.mk |
| 7 | ifeq ($(DEB_BUILD_ARCH_OS),linux) |
| 8 | SYSTEMD_ENABLE=--with-systemd |
| 9 | endif |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | NOCONFIGURE=1 xdt-autogen |
| 13 | dh_auto_configure -- \ |
| 14 | $(SYSTEMD_ENABLE) \ |
| 15 | --with-upower \ |
| 16 | --with-console-kit=no \ |
| 17 | --with-mit-ext |
| 18 | |
| 19 | %: |
| 20 | dh $@ |