Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
DESTDIR support for git/contrib/emacs
[gitweb.git]
/
contrib
/
emacs
/
Makefile
diff --git
a/contrib/emacs/Makefile
b/contrib/emacs/Makefile
index 8554e3967cc692c6916e5aee35952074d07e8bf0..98aa0aae9b2e9e4a758fa58e7dd1e1adc3214883 100644
(file)
--- 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 $<