mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
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>
This commit is contained in:
parent
957d6ea78f
commit
1e31fbe24f
|
@ -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 $<
|
||||
|
|
Loading…
Reference in a new issue