#!/usr/bin/make -f

export PYBUILD_NAME=diaspy

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

override_dh_auto_build:
	dh_auto_build
	for md in manual/*.markdown; do \
	    python3 -m markdown $$md > manual/$$(basename $$md .markdown).html; \
	done

override_dh_clean:
	dh_clean
	rm -f manual/*.html