summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <scop@xemacs.org>2007-04-05 18:09:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-05 21:14:55 (GMT)
commit1e31fbe24fac983b0057af39824f73d65dba6502 (patch)
treefda22ea61c78a408487213dc07692b8a13b69202
parent957d6ea78fcbe71481a6f46a58768e100f7908e0 (diff)
downloadgit-1e31fbe24fac983b0057af39824f73d65dba6502.zip
git-1e31fbe24fac983b0057af39824f73d65dba6502.tar.gz
git-1e31fbe24fac983b0057af39824f73d65dba6502.tar.bz2
DESTDIR support for git/contrib/emacs
make install DESTDIR=... support for git/contrib/emacs Signed-off-by: Ville Skyttä <scop@xemacs.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--contrib/emacs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
index 8554e39..98aa0aa 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 $<