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


include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_configure:
	pod2man --section=1 --release=$(DEB_SOURCE) --center "" doc/rapid-photo-downloader.1.pod > rapid-photo-downloader.1

override_dh_auto_build:
	cp -a --verbose debian/missing-sources/raphodo/qrc_resources/* .
	pyrcc5 raphodo/resources.qrc -o raphodo/qrc_resources.py
	dh_auto_build

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.md

override_dh_auto_test:
        # Per developer, there are no unit tests. This is causing errors that shouldn't happen.
