#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

override_dh_install:
	find debian/orage/usr/lib -name '*.la' -delete
	dh_install

override_dh_auto_configure:
	dh_auto_configure -- --enable-dbus --enable-libical

%:
	dh $@ --parallel --with autotools-dev
