#!/usr/bin/make -f

override_dh_auto_configure:
	chmod a+x configure
	./configure --prefix=/usr --qmake=/usr/bin/qmake-qt4

override_dh_auto_install:
	dh_auto_install -- INSTALL_ROOT=$(CURDIR)/debian/tmp

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/build $(CURDIR)/make $(CURDIR)/resources
	rm -f $(CURDIR)/src/include/synthclone/config.h
	find $(CURDIR) -name \*.pyc -delete

%:
	dh $@

override_dh_dwz:
	dh_dwz --no-dwz-multifile
