debian/rules
raw| 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 | binaries := $(shell dh_listpackages) |
| 8 | |
| 9 | ifeq ($(filter %-doc,$(binaries)),) |
| 10 | enable_gtk_doc = false |
| 11 | else |
| 12 | enable_gtk_doc = true |
| 13 | endif |
| 14 | |
| 15 | %: |
| 16 | dh $@ |
| 17 | |
| 18 | override_dh_auto_configure: |
| 19 | dh_auto_configure -- -Denable-gtk-doc=$(enable_gtk_doc) \ |
| 20 | -Dsoup2=false |