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 30 31 32 33 34 35 36
|
#!/usr/bin/make -f
# -*- makefile -*-
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS+=-Wl,--as-needed
%:
dh $@ --with=gir
override_dh_autoreconf:
gtkdocize
dh_autoreconf
override_dh_makeshlibs:
dh_makeshlibs -V -- -c4
override_dh_auto_configure:
dh_auto_configure -- \
--enable-gtk-doc \
--enable-static=no \
--libexecdir=/usr/lib/accountsservice \
--with-systemdsystemunitdir=/lib/systemd/system
# Disabled to avoid FTBFS
override_dh_auto_test:
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_strip:
dh_strip -plibaccountsservice0 --dbgsym-migration='libaccountsservice-dbg (<< 0.6.40-4~)'
dh_strip --remaining-packages
|