1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
%:
dh $@ --with gir
ifeq ($(filter libmbim-glib-doc,$(shell dh_listpackages)),)
configure_flags += --disable-gtk-doc --disable-gtk-doc-html
else
configure_flags += --enable-gtk-doc --enable-gtk-doc-html
endif
ifneq ($(filter linux,$(DEB_HOST_ARCH_OS)),)
configure_flags += --with-udev
else
configure_flags += --without-udev
endif
override_dh_auto_configure:
dh_auto_configure -- --enable-introspection=yes $(configure_flags)
override_dh_missing:
dh_missing -X.la --fail-missing
override_dh_strip:
dh_strip --dbgsym-migration='libmbim-glib4-dbg (<< 1.12.4-1~)'
override_dh_installexamples:
dh_installexamples -XMakefile
|