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)
|
all: $(ELC)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
$(INSTALL) -d $(emacsdir)
|
$(INSTALL) -d $(DESTDIR)$(emacsdir)
|
||||||
$(INSTALL_ELC) $(ELC) $(emacsdir)
|
$(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
|
||||||
|
|
||||||
%.elc: %.el
|
%.elc: %.el
|
||||||
$(EMACS) -batch -f batch-byte-compile $<
|
$(EMACS) -batch -f batch-byte-compile $<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user