From: Carl Worth Date: Sat, 21 Nov 2009 10:38:27 +0000 (+0100) Subject: Makefile: Fix the fallback emacs install path. X-Git-Tag: 0.1~390 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=21f32524366e219f425a5e74ebebb4151dc4918f Makefile: Fix the fallback emacs install path. When pkg-config can't be used to find out where to install emacs files, we fallback to a hard-coded directory. Only, we were falling back to the wrong thing, (one that emacs doesn't look into by default). --- diff --git a/Makefile b/Makefile index f9f7af03..3fedcf12 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ extra_cxxflags := $(shell xapian-config --cxxflags) emacs_lispdir := $(shell pkg-config emacs --variable sitepkglispdir) # Hard-code if this system doesn't have an emacs.pc file ifeq ($(emacs_lispdir),) - emacs_lispdir = $(prefix)/share/site-lisp + emacs_lispdir = $(prefix)/share/emacs/site-lisp endif all_deps = Makefile Makefile.local Makefile.config \