From: Ville Skyttä Date: Thu, 5 Apr 2007 18:09:31 +0000 (+0300) Subject: DESTDIR support for git/contrib/emacs X-Git-Tag: v1.5.1.1~30 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1e31fbe24fac983b0057af39824f73d65dba6502;p=git.git DESTDIR support for git/contrib/emacs make install DESTDIR=... support for git/contrib/emacs Signed-off-by: Ville Skyttä Signed-off-by: Junio C Hamano --- diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile index 8554e3967..98aa0aae9 100644 --- a/contrib/emacs/Makefile +++ b/contrib/emacs/Makefile @@ -11,8 +11,8 @@ emacsdir = $(prefix)/share/emacs/site-lisp all: $(ELC) install: all - $(INSTALL) -d $(emacsdir) - $(INSTALL_ELC) $(ELC) $(emacsdir) + $(INSTALL) -d $(DESTDIR)$(emacsdir) + $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir) %.elc: %.el $(EMACS) -batch -f batch-byte-compile $<