| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 |
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed |
| 6 |
include /usr/share/dpkg/default.mk |
| 7 |
export DEB_VERSION_UPSTREAM |
| 8 |
|
| 9 |
binaries := $(shell dh_listpackages) |
| 10 |
extra_meson_options = |
| 11 |
|
| 12 |
ifneq ($(filter libaccountsservice-doc,$(binaries)),) |
| 13 |
extra_meson_options += -Dgtk_doc=true |
| 14 |
else |
| 15 |
extra_meson_options += -Dgtk_doc=false |
| 16 |
endif |
| 17 |
|
| 18 |
%: |
| 19 |
dh $@ --with=gir |
| 20 |
|
| 21 |
override_dh_makeshlibs: |
| 22 |
dh_makeshlibs -V -- -c4 |
| 23 |
|
| 24 |
override_dh_auto_configure: |
| 25 |
dh_auto_configure -- \ |
| 26 |
-Ddocbook=true \ |
| 27 |
-Dgdmconffile=/etc/gdm3/daemon.conf \ |
| 28 |
-Dadmin_group=sudo \ |
| 29 |
-Dintrospection=true \ |
| 30 |
$(extra_meson_options) |