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 New Issue
Block a user