| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
export DPKG_GENSYMBOLS_CHECK_LEVEL=4 |
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
DOPACKAGES=$(shell dh_listpackages) |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --with gir |
| 11 |
|
| 12 |
ifneq (,$(filter libqmi-glib-doc,$(DOPACKAGES))) |
| 13 |
CONFIGURE_FLAGS += -Dgtk_doc=true |
| 14 |
else |
| 15 |
CONFIGURE_FLAGS += -Dgtk_doc=false |
| 16 |
endif |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure -- -Ddefault_library=both $(CONFIGURE_FLAGS) |
| 20 |
|
| 21 |
override_dh_missing: |
| 22 |
dh_missing -X.la |
| 23 |
|
| 24 |
override_dh_installexamples: |
| 25 |
dh_installexamples -XMakefile |