24 lines
769 B
Plaintext
Raw Normal View History

2023-02-23 22:05:14 +02:00
#!/usr/bin/make -f
2023-05-24 18:11:09 +03:00
### WTF ###
2023-02-23 22:05:14 +02:00
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
2023-08-06 21:23:17 +03:00
export DH_VERBOSE = 1
2023-05-24 18:11:09 +03:00
#
2023-08-06 21:23:17 +03:00
export PYBUILD_NAME=pid
2023-05-24 18:11:09 +03:00
#
2023-08-06 21:23:17 +03:00
%:
dh $@ --with python3 --buildsystem=pybuild
2023-05-24 18:11:09 +03:00
#
2023-02-23 22:05:14 +02:00
## Uncomment to disable testing during package builds
## NOTE for QA or Engineering Review: This should not be uncommented in a
## PR. If it is, DO NOT APPROVE THE PR!!!
2023-08-06 21:23:17 +03:00
override_dh_auto_test:
true
2023-02-23 22:05:14 +02:00
# If you need to rebuild the Sphinx documentation
# Add spinxdoc to the dh --with line
2023-08-06 21:23:17 +03:00
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