#!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_configure: # make sure the manifest is built python setup.py sdist --manifest-only override_dh_auto_build: # force usage of setup.py over Makefile dh_auto_build --buildsystem python_distutils override_dh_installchangelogs: # install custom changelog dh_installchangelogs doc/changelog.txt ROOTDIR=$(CURDIR)/debian/dosage override_dh_auto_install: # force usage of setup.py over Makefile dh_auto_install --buildsystem python_distutils # install bash_completion script install -m 644 doc/dosage-completion $(ROOTDIR)/usr/share/bash-completion/completions override_dh_clean: # clean generated files dh_clean _Dosage_configdata.py override_dh_auto_test: # do not run test suite when building override_dh_builddeb: # use xz for debian binary package compression dh_builddeb -- -Zxz