#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PYBUILD_NAME=stone export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM) %: dh $@ --buildsystem=pybuild execute_after_dh_auto_install: mv debian/python3-stone/usr/bin/stone debian/python3-stone/usr/bin/stone-py execute_before_dh_installman: argparse-manpage \ --pyfile $(CURDIR)/stone/cli.py \ --object _cmdline_parser \ --author "Ken Elkabany" \ --author-email "kelkabany@dropbox.com" \ --project-name "stone" \ --url "https://github.com/dropbox/stone" \ --description "The Official Api Spec Language for Dropbox" \ --version "$(DEB_VERSION_UPSTREAM)" > stone-py.1