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:
Carl Worth 2009-11-21 11:38:27 +01:00
parent 49132ebc76
commit 21f3252436

View file

@ -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 \