python-pid/debian/rules

26 lines
758 B
Plaintext
Raw Normal View History

2023-02-23 21:05:14 +01:00
#!/usr/bin/make -f
2023-05-24 17:11:09 +02:00
2023-02-23 21:05:14 +01:00
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
2023-08-06 20:23:17 +02:00
export DH_VERBOSE = 1
2023-05-24 17:11:09 +02:00
#
2023-08-06 20:23:17 +02:00
export PYBUILD_NAME=pid
2023-05-24 17:11:09 +02:00
#
2023-08-06 20:47:20 +02:00
2023-02-23 21:05:14 +01: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 20:23:17 +02:00
override_dh_auto_test:
2023-08-06 20:47:20 +02:00
true
2023-02-23 21:05:14 +01:00
# If you need to rebuild the Sphinx documentation
# Add spinxdoc to the dh --with line
2023-08-06 20:23:17 +02: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
2023-08-06 20:47:20 +02:00
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
%:
dh $@ --with python3 --buildsystem=pybuild