1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.9.1:9
export PYBUILD_NAME=lavacli
export BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d @"$(SOURCE_DATE_EPOCH)")
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
make -C doc/ man SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" SPHINXOPTS="-j 4 -D today=\"$(BUILD_DATE)\""
override_dh_auto_install:
dh_auto_install
dh_installman -plavacli doc/_build/man/lavacli.1
|