Update rules

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-06 21:47:20 +03:00 committed by GitHub
parent bf9c67e28c
commit eef3b0b3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
debian/rules vendored
View File

@ -1,24 +1,25 @@
#!/usr/bin/make -f #!/usr/bin/make -f
### WTF ###
# See debhelper(7) (uncomment to enable) # See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system. # output every command that modifies files on the build system.
export DH_VERBOSE = 1 export DH_VERBOSE = 1
# #
export PYBUILD_NAME=pid export PYBUILD_NAME=pid
# #
%:
dh $@ --with python3 --buildsystem=pybuild
#
## Uncomment to disable testing during package builds ## Uncomment to disable testing during package builds
## NOTE for QA or Engineering Review: This should not be uncommented in a ## NOTE for QA or Engineering Review: This should not be uncommented in a
## PR. If it is, DO NOT APPROVE THE PR!!! ## PR. If it is, DO NOT APPROVE THE PR!!!
override_dh_auto_test: override_dh_auto_test:
true true
# If you need to rebuild the Sphinx documentation # If you need to rebuild the Sphinx documentation
# Add spinxdoc to the dh --with line # Add spinxdoc to the dh --with line
override_dh_auto_build: override_dh_auto_build:
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 -bhtml docs/ build/html # HTML generator
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
%:
dh $@ --with python3 --buildsystem=pybuild