@matheusbsbs / matheus-bagliano / commits / 1e31fbe24f
Fork 0

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>

Ville Skyttä committed Apr 5, 2007 at 21:09 UTC 1e31fbe24fac983b0057af39824f73d65dba6502
1 file changed +2 -2
contrib/emacs/Makefile
+2 -2
@@ -11,8 +11,8 @@ emacsdir = $(prefix)/share/emacs/site-lisp
11 all: $(ELC)
12
13 install: all
14 - $(INSTALL) -d $(emacsdir)
15 - $(INSTALL_ELC) $(ELC) $(emacsdir)
14 + $(INSTALL) -d $(DESTDIR)$(emacsdir)
15 + $(INSTALL_ELC) $(ELC) $(DESTDIR)$(emacsdir)
16
17 %.elc: %.el
18 $(EMACS) -batch -f batch-byte-compile $<