]> granicus.if.org Git - neomutt/commitdiff
Define prefix in Makefile.autosetup
authorJulian Andres Klode <jak@jak-linux.org>
Sun, 26 Nov 2017 11:26:30 +0000 (12:26 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 7 Dec 2017 16:35:32 +0000 (16:35 +0000)
Debian tools and probably other tools too pass arguments like
--mandir=\${prefix}/share/man
to configure. The prefix survives the output into the Makefile,
therefore, we need to define prefix in the Makefile too.

Makefile.autosetup

index c81a91a9e44c3e1bee3284c9cd2b59ea0d1a6a20..984e15066b341b4b110f699b85756b2983c0c896 100644 (file)
@@ -32,6 +32,7 @@ LIBBINFILES+= $(SRCDIR)/contrib/smime_keys
 @endif
 
 # paths
+prefix=                @prefix@
 bindir=                @BINDIR@
 datadir=       @PKGDATADIR@
 docdir=                @PKGDOCDIR@