#!/usr/bin/make -f

export PYBUILD_NAME = fbless
%:
	dh $@ --with python3,linktree --buildsystem pybuild

override_dh_auto_build:
	dh_auto_build
	pandoc --standalone debian/fbless.md -o debian/fbless.1
	sed -i -r 's/\\\[en\]/-/' debian/fbless.1

override_dh_auto_install:
	dh_auto_install
	find debian/fbless -name 'README.ru' -delete
