From 99a34fe841f9e856b04815f39525c19d59c6f8cd Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 4 Mar 2018 23:07:33 +0800 Subject: [PATCH] debian packaging: switch to CMake builds --- debian/control | 2 +- debian/rules | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index d9985ff36..56c1a692f 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: shells Priority: extra Maintainer: ridiculous_fish Uploaders: David Adam -Build-Depends: debhelper (>= 9.0.0), libncurses5-dev, autoconf, autotools-dev, dh-autoreconf, gettext +Build-Depends: debhelper (>= 9.0.0), libncurses5-dev, cmake3 (>= 3.2.0) | cmake (>= 3.2.0), gettext # When libpcre2-dev is available on all supported Debian versions, add a dependency on that. Standards-Version: 3.9.4 Homepage: https://fishshell.com/ diff --git a/debian/rules b/debian/rules index e48ceb825..7044fb86d 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,11 @@ export DH_VERBOSE=1 %: - dh $@ --with autotools-dev,autoreconf + dh $@ + +override_dh_auto_configure: + # Until all platforms have debhelper 9.20151004, Debian bug 719148 needs to be worked around + dh_auto_configure --buildsystem=cmake --parallel -- -DCMAKE_INSTALL_SYSCONFDIR=/etc override_dh_installdocs: dh_installdocs --link-doc=fish