#!/usr/bin/make -f

%:
	dh $@

override_dh_install:
	rm -rfv debian/tmp/usr/lib/python*/dist-packages/mate_invest/*.pyc
	rm -rfv debian/tmp/usr/lib/python*/dist-packages/mate_invest/*.pyo
	dh_install --list-missing

override_dh_auto_configure:
	dh_auto_configure -- \
                --localstatedir=/var \
                --disable-static \
                --disable-scrollkeeper \
		--with-gtk=2.0

override_dh_strip:
	dh_strip --dbg-package=mate-applets-dbg

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
