From 63cdf1a38f039945814ee8ed2feb2f7125304b7d Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sun, 9 Feb 2020 02:46:27 +0200 Subject: [PATCH] debian/: add mandoc build dependency --- Makefile | 2 +- debian/control | 5 +++-- debian/rules | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3446bff7..0132f987 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CARGO_BIN ?= cargo # Installation parameters MANPAGES ?= meli.1 meli.conf.5 meli-themes.5 -FEATURES ?= --features="$(MELI_FEATURES)" +FEATURES ?= --features "${MELI_FEATURES}" MANPATHS := `manpath 2> /dev/null` VERSION ?= `sed -n "s/^version\s*=\s*\"\(.*\)\"/\1/p" Cargo.toml` diff --git a/debian/control b/debian/control index 17e83c46..5f4d7512 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,14 @@ Source: meli Section: mail Priority: optional Maintainer: Manos Pitsidianakis -Build-Depends: debhelper (>=11~) +Build-Depends: debhelper (>=11~), mandoc (>=1.14.4-1) Standards-Version: 4.1.4 Homepage: https://meli.delivery Package: meli Architecture: any Multi-Arch: foreign -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends}, xdg-utils (>=1.1.3-1) +Recommends: libnotmuch5 (>=0.28.4-1) Description: auto-generated package by debmake terminal mail client diff --git a/debian/rules b/debian/rules index d3277b92..ce799a6b 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,7 @@ #export DEB_BUILD_MAINT_OPTIONS = hardening=+all #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export MELI_FEATURES = cli-docs sqlite3 %: dh $@ --with quilt