#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=keras

export THEANO_FLAGS=base_compiledir='.pybuild'

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

override_dh_installdocs:
	mkdir -p .pybuild
	markdown README.md > .pybuild/README.html
	LC_LANG=C.UTF-8 links -dump .pybuild/README.html > .pybuild/README
	dh_installdocs .pybuild/README

override_dh_compress:
	dh_compress -X.py
