summaryrefslogtreecommitdiff
path: root/contrib/emacs
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-06-29 22:11:25 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-29 23:49:16 -0700
commite14421b9aa85f11853a0dacae09498515daab7b8 (patch)
tree8995222b849f95902d3ed66b8c2cb11d55d4a87e /contrib/emacs
parentAbstract out accesses to object hash array (diff)
downloadtgif-e14421b9aa85f11853a0dacae09498515daab7b8.tar.xz
Allow INSTALL, bindir, mandir to be set in main Makefile
Makefiles in subdirectories now use existing value of INSTALL, bindir, mandir if it is set, allowing those to be set in main Makefile or in included config.mak. Main Makefile exports variables which it sets. Accidentally it renames bin to bindir in Documentation/Makefile (should be bindir from start, but is unused, perhaps to be removed). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/emacs')
-rw-r--r--contrib/emacs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/emacs/Makefile b/contrib/emacs/Makefile
index d3619db510..350846de90 100644
--- a/contrib/emacs/Makefile
+++ b/contrib/emacs/Makefile
@@ -3,9 +3,9 @@
EMACS = emacs
ELC = git.elc vc-git.elc
-INSTALL = install
+INSTALL ?= install
INSTALL_ELC = $(INSTALL) -m 644
-prefix = $(HOME)
+prefix ?= $(HOME)
emacsdir = $(prefix)/share/emacs/site-lisp
all: $(ELC)