mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
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).
This commit is contained in:
parent
49132ebc76
commit
21f3252436
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ extra_cxxflags := $(shell xapian-config --cxxflags)
|
||||||
emacs_lispdir := $(shell pkg-config emacs --variable sitepkglispdir)
|
emacs_lispdir := $(shell pkg-config emacs --variable sitepkglispdir)
|
||||||
# Hard-code if this system doesn't have an emacs.pc file
|
# Hard-code if this system doesn't have an emacs.pc file
|
||||||
ifeq ($(emacs_lispdir),)
|
ifeq ($(emacs_lispdir),)
|
||||||
emacs_lispdir = $(prefix)/share/site-lisp
|
emacs_lispdir = $(prefix)/share/emacs/site-lisp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all_deps = Makefile Makefile.local Makefile.config \
|
all_deps = Makefile Makefile.local Makefile.config \
|
||||||
|
|
Loading…
Reference in a new issue