#!/usr/bin/make -f

export DH_OPTIONS

# No dbgsyms for MX repos
export DEB_BUILD_OPTIONS += noddebs  

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

execute_after_dh_auto_build:
	make man

override_dh_auto_install:
	mv _build/bin/ipp-usb ipp-usb
	DESTDIR=$(CURDIR)/debian/ipp-usb make install

execute_after_dh_auto_clean:
	rm -f ipp-usb

override_dh_dwz:
	echo NO THANKS
