OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957d6ea
)
DESTDIR support for git/contrib/emacs
author
Ville Skyttä
<scop@xemacs.org>
Thu, 5 Apr 2007 18:09:31 +0000
(21:09 +0300)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 5 Apr 2007 21:14:55 +0000
(14:14 -0700)
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>
contrib/emacs/Makefile
patch
|
blob
|
history
diff --git
a/contrib/emacs/Makefile
b/contrib/emacs/Makefile
index
8554e39
..
98aa0aa
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 $<