summaryrefslogtreecommitdiff
path: root/contrib/emacs/Makefile
diff options
context:
space:
mode:
authorLibravatar Ville Skyttä <scop@xemacs.org>2007-04-05 21:09:31 +0300
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-05 14:14:55 -0700
commit1e31fbe24fac983b0057af39824f73d65dba6502 (patch)
treefda22ea61c78a408487213dc07692b8a13b69202 /contrib/emacs/Makefile
parentgitweb: Fix bug in "blobdiff" view for split (e.g. file to symlink) patches (diff)
downloadtgif-1e31fbe24fac983b0057af39824f73d65dba6502.tar.xz
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>
Diffstat (limited to 'contrib/emacs/Makefile')
-rw-r--r--contrib/emacs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
index 8554e3967c..98aa0aae9b 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 $<