#!/usr/bin/make -f

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


%:
	dh $@ --with gnome

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- --disable-static

override_dh_install:
	dh_install
	find debian/anjuta-extras -name '*.la' -delete

override_dh_gencontrol:
	sh debian/description.sh >> debian/anjuta-extras.substvars
	dh_gencontrol
