3 # Uncomment this to turn on verbose mode.
6 # This has to be exported to make some magic below work.
9 export PYBUILD_NAME = pylibacl
10 export PYBUILD_DISABLE = test
12 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
13 DPKG_EXPORT_BUILDFLAGS = 1
14 include /usr/share/dpkg/buildflags.mk
17 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
19 # Also build the documentation
20 override_dh_auto_build:
22 PYTHONPATH=. http_proxy='127.0.0.1:9' make doc
25 override_dh_auto_clean:
30 dh_strip -ppython3-pylibacl
32 override_dh_installdocs:
33 dh_installdocs -A --remaining-packages README.md
35 override_dh_installchangelogs:
36 dh_installchangelogs -A NEWS