#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ --with python2

override_dh_auto_configure:
	cp -f /usr/share/misc/config.sub config.sub
	cp -f /usr/share/misc/config.guess config.guess
	dh_auto_configure

override_dh_install:
	dh_install
	dh_installman debian/ganyremote.1x
	rm -f debian/ganyremote/usr/share/doc/ganyremote/COPYING
	rm -f debian/ganyremote/usr/share/doc/ganyremote/ChangeLog

override_dh_clean:
	rm -f config.sub
	rm -f config.guess
	dh_clean
