debian packaging: switch to CMake builds

This commit is contained in:
David Adam 2018-03-04 23:07:33 +08:00
parent 5beeb5280f
commit 99a34fe841
2 changed files with 6 additions and 2 deletions

2
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: shells
Priority: extra
Maintainer: ridiculous_fish <corydoras@ridiculousfish.com>
Uploaders: David Adam <zanchey@ucc.gu.uwa.edu.au>
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/

6
debian/rules vendored
View File

@ -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