#! /usr/bin/make -f EDS_VERSION = $(shell pkg-config --modversion evolution-data-server-1.2 | awk -F'.' '{print $$1 "." $$2}') EDS_NEXTVERSION = $(shell pkg-config --modversion evolution-data-server-1.2 | awk -F'.' '{print $$1 "." $$2+1}') EVO_VERSION = $(shell pkg-config --modversion evolution-shell-3.0 | awk -F'.' '{print $$1 "." $$2}') EVO_NEXTVERSION = $(shell pkg-config --modversion evolution-shell-3.0 | awk -F'.' '{print $$1 "." $$2+1}') export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with gnome override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure -- \ --enable-webkit \ --disable-gecko \ --with-primary-render=webkit override_dh_install: dh_install rm -rf debian/evolution-rss/usr/share/applications find debian/evolution-rss -name \*.la -delete override_dh_makeshlibs: dh_makeshlibs -Xevolution override_dh_gencontrol: dh_gencontrol -- \ -Veds:Version=$(EDS_VERSION) -Veds:NextVersion=$(EDS_NEXTVERSION) \ -Vevo:Version=$(EVO_VERSION) -Vevo:NextVersion=$(EVO_NEXTVERSION)