From 811b90d7e04c07ec0a31d3068d380324908e8665 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Tue, 22 Oct 2019 15:16:14 +0200 Subject: Let CMake control everything. --- debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 155e12c1..5a0d0ba3 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,8 @@ PY3VERS:=$(shell py3versions -vs) DEFAULT_PY3VER=$(shell py3versions -vd) REMAINING_PY3VERS:=$(filter-out $(DEFAULT_PY3VER), $(PY3VERS)) +DHFLAGS+=--buildsystem=cmake + # The buildds run out of memory on some architectures. On those, we # force non-parallel building. ifneq (, $(filter $(shell dpkg-architecture --query DEB_BUILD_ARCH),mips mipsel m68k powerpcspe)) @@ -21,9 +23,9 @@ endif %: # The --buildirectory=build is there so that we can easily get a hold # of documentation and examples, which are not installed by upstream. - dh $@ $(DHFLAGS) --with=python3 --builddirectory=build + dh $@ $(DHFLAGS) --builddirectory=build for py3ver in $(REMAINING_PY3VERS) ; do \ - dh $@ $(DHFLAGS) --with=python3 --builddirectory=build$$py3ver ; \ + dh $@ $(DHFLAGS) --builddirectory=build$$py3ver ; \ done override_dh_auto_configure: -- cgit v1.2.3