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