#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=makefile

override_dh_auto_test:
	dh_auto_test --buildsystem=makefile

override_dh_auto_install:
	# Explicitly install to debian/tmp to avoid path confusion
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr

override_dh_install:
	# Use files from debian/tmp
	dh_install --sourcedir=debian/tmp
