summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-04-17 16:34:49 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2018-04-17 16:35:25 +0200
commit668553634463bd69291db42bfd825684aef991c3 (patch)
tree7d7567cb24145c01eec8bbdd666a355acb080184
parent3e2998a560514826d8c910261407975f8c9660d4 (diff)
Build with cmake+ninja instead of cmake+make
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules4
2 files changed, 3 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index 333150ff8..747746b68 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders: Michael Vogt <mvo@debian.org>,
Rules-Requires-Root: no
Standards-Version: 4.1.1
Build-Depends: cmake (>= 3.4),
- debhelper (>= 10),
+ debhelper (>= 11.2~),
docbook-xml,
docbook-xsl,
dpkg-dev (>= 1.17.14),
@@ -24,6 +24,7 @@ Build-Depends: cmake (>= 3.4),
libseccomp-dev [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x hppa powerpc powerpcspe ppc64 x32],
libudev-dev [linux-any],
libzstd-dev (>= 1.0),
+ ninja-build,
pkg-config,
po4a (>= 0.34-2),
xsltproc,
diff --git a/debian/rules b/debian/rules
index d4e9600a2..516e5e31f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=0
export CTEST_OUTPUT_ON_FAILURE=1
%:
- dh $@
+ dh $@ --buildsystem=cmake+ninja
override_dh_clean:
cp COPYING debian/copyright
@@ -45,5 +45,3 @@ override_dh_auto_configure-indep: flags=-DWITH_DOC=ON
override_dh_auto_configure-arch override_dh_auto_configure-indep:
dh_auto_configure -- $(flags)
-override_dh_auto_build:
- dh_auto_build -- -O