#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	python3 $(CURDIR)/debian/build_manpage.py > debian/autoflake.1

execute_after_dh_auto_install:
	chmod 0644 debian/autoflake/usr/lib/python3*/dist-packages/autoflake.py
