From: Pietro Cerutti Date: Sat, 14 Oct 2017 13:08:23 +0000 (+0000) Subject: Allow to specify --docdir at configure time X-Git-Tag: neomutt-20171027~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F858%2Fhead;p=neomutt Allow to specify --docdir at configure time Issue #857 --- diff --git a/auto.def b/auto.def index 83de37690..06da5eb1e 100644 --- a/auto.def +++ b/auto.def @@ -30,6 +30,7 @@ options { logging=0 => "Enable debug logging" doc=1 => "Disable building the documentation" full-doc=0 => "Build the full documentation set" + docdir:path => "Documentation root" flock=0 => "Use flock() to lock files" fcntl=1 => "Do NOT use fcntl() to lock files" fmemopen=0 => "Use fmemopen() for temporary in-memory files" @@ -125,7 +126,7 @@ if {1} { define BINDIR [get-define bindir] define MUTTLOCALEDIR [get-define datadir]/locale define PKGDATADIR [get-define datadir]/neomutt -define PKGDOCDIR [get-define datadir]/doc/neomutt +define PKGDOCDIR [opt-val docdir [get-define datadir]/doc/neomutt] define SYSCONFDIR [get-define sysconfdir] ###############################################################################