[PATCH] Makefile: Create elisp install directory explicitly

classic Classic list List threaded Threaded
2 messages Options
Ingmar Vanhassel Ingmar Vanhassel
Reply | Threaded
Open this post in threaded view
|

[PATCH] Makefile: Create elisp install directory explicitly

When doing a DESTDIR install, this directory likely won't exist, and
installing notmuch.el will fail.

See 0d4b5292
---
 Makefile.local |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.local b/Makefile.local
index 27e42ba..6bc01a5 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -25,7 +25,7 @@ notmuch.1.gz: notmuch.1
 
 install: all notmuch.1.gz
  for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \
- $(DESTDIR)/etc/bash_completion.d/ ; \
+ $(DESTDIR)/$(prefix)/share/emacs/site-lisp/ $(DESTDIR)/etc/bash_completion.d/ ; \
  do \
  install -d $$d ; \
  done ;
--
1.6.5.2.433.g23cdb


Carl Worth-2 Carl Worth-2
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Makefile: Create elisp install directory explicitly

On Thu, 19 Nov 2009 02:45:44 +0100, Ingmar Vanhassel <[hidden email]> wrote:
> When doing a DESTDIR install, this directory likely won't exist, and
> installing notmuch.el will fail.

Thanks. Pushed.

-Carl