#!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. #export DH_VERBOSE = 1 export PYBUILD_NAME=pipenv %: dh $@ --with python3 --buildsystem=python_distutils override_dh_auto_clean: python3 setup.py clean -a find . -name \*.pyc -exec rm {} \; override_dh_auto_build: python3 setup.py build --force override_dh_auto_install: python3 setup.py install --force --root=debian/pipenv --no-compile -O0 --install-layout=deb --prefix=/usr # If you need to rebuild the Sphinx documentation # Add spinxdoc to the dh --with line #override_dh_auto_build: # dh_auto_build # PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator # PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator