diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d923eef --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export PYBUILD_NAME = phat + +# To avoid autodetecting upstream's CMakeFile, which doesn't build the +# Python extension. +export PYBUILD_SYSTEM = distutils + +%: + dh $@ --buildsystem=cmake --builddirectory=build + dh $@ --with python3 --buildsystem=pybuild |