Browse Source

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>
maint
Ville Skyttä 18 years ago committed by Junio C Hamano
parent
commit
1e31fbe24f
  1. 4
      contrib/emacs/Makefile

4
contrib/emacs/Makefile

@ -11,8 +11,8 @@ emacsdir = $(prefix)/share/emacs/site-lisp @@ -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…
Cancel
Save