summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:21:11 +0000
commit3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3 (patch)
tree58db4e5b1587dfa44ff3f19fa188964f4512b078 /debian/rules
parentAdding upstream version 0.6.0+dfsg1. (diff)
downloadpython-installer-debian.tar.xz
python-installer-debian.zip
Adding debian version 0.6.0+dfsg1-1.debian/0.6.0+dfsg1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..75cfb14
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+# export DH_VERBOSE = 1
+
+export PYBUILD_NAME = installer
+
+export PYBUILD_TEST_ARGS = -rsx -v
+
+%:
+ dh $@ --buildsystem pybuild
+
+execute_after_dh_auto_build:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ PYTHONPATH=$(CURDIR)/src/ \
+ http_proxy=http://127.0.0.1:9 \
+ https_proxy=https://127.0.0.1:9 \
+ python3 -m sphinx -N -bhtml docs/ build/html
+endif