debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | export DH_VERBOSE = 1 |
| 3 | # Apply hardening flags (see: https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake) |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | DPKG_EXPORT_BUILDFLAGS = 1 |
| 6 | include /usr/share/dpkg/buildflags.mk |
| 7 | |
| 8 | export PYBUILD_CONFIGURE_ARGS=-DPYVER={version} |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=pybuild --with python3 |