summaryrefslogtreecommitdiff
path: root/debian/rules
blob: d923eef38f62adb8cb9c7afa792ebb267d7dd895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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