#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

override_dh_auto_build:
	dh_auto_build -- CPPFLAGS="$(CPPFLAGS) $(CFLAGS)"

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/wmhdplop
	cp gkhdplop.so $(CURDIR)/debian/gkrellm-hdplop/usr/lib/gkrellm2/plugins

get-orig-source:
	uscan --verbose --force-download --rename
