#!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 export PYBUILD_NAME=pastescript export PYBUILD_TEST_ARGS=\ --ignore=tests/appsetup/testfiles/conftest.py \ --ignore=tests/appsetup/test_make_project.py \ --ignore=tests/test_command.py \ --ignore=tests/test_egg_finder.py \ --ignore=tests/test_template_introspect.py %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) override_dh_sphinxdoc: PYTHONPATH=. python3 -m sphinx -bhtml docs/ $(CURDIR)/debian/python-pastescript-doc/usr/share/doc/python-pastescript-doc/html dh_sphinxdoc -O--buildsystem=pybuild endif override_dh_auto_install: dh_auto_install mv debian/python3-pastescript/usr/bin/paster debian/python3-pastescript/usr/bin/paster3 dh_bash-completion override_dh_installchangelogs: dh_installchangelogs docs/news.txt