#!/usr/bin/make -f

include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

# see https://bugzilla.gnome.org/show_bug.cgi?id=594473 for details
export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions

%:
	dh $@ --with autoreconf,gnome

override_dh_gnome_clean:
	dh_gnome_clean --no-control

override_dh_autoreconf:
	NOCONFIGURE=true dh_autoreconf gnome-autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc

override_dh_install:
	dh_install
	find debian/evolution-ews -name \*.la -delete

override_dh_makeshlibs:
	dh_makeshlibs -n -X/usr/lib/evolution-data-server/
