#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export QT_SELECT=qt4 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) %: dh $@ override_dh_auto_configure: ./configure --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr override_dh_auto_install: install -d $(CURDIR)/debian/midisnoop/usr/bin/ install -m 755 -p $(CURDIR)/$(DEB_BUILD_GNU_TYPE)/bin/midisnoop $(CURDIR)/debian/midisnoop/usr/bin/midisnoop install -d $(CURDIR)/debian/midisnoop/usr/share/pixmaps/ install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/midisnoop/usr/share/pixmaps/