Skip to content

Commit

Permalink
DESTDIR support for git/contrib/emacs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Skyttä authored and Junio C Hamano committed Apr 5, 2007
1 parent 957d6ea commit 1e31fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/emacs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<
Expand Down

0 comments on commit 1e31fbe

Please sign in to comment.