summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-06-29 20:11:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-30 06:49:16 (GMT)
commite14421b9aa85f11853a0dacae09498515daab7b8 (patch)
tree8995222b849f95902d3ed66b8c2cb11d55d4a87e /Makefile
parentfc046a75d539a78e6b2c16534c4078617a69a327 (diff)
downloadgit-e14421b9aa85f11853a0dacae09498515daab7b8.zip
git-e14421b9aa85f11853a0dacae09498515daab7b8.tar.gz
git-e14421b9aa85f11853a0dacae09498515daab7b8.tar.bz2
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cde619c..b8fe669 100644
--- a/Makefile
+++ b/Makefile
@@ -100,6 +100,8 @@ template_dir = $(prefix)/share/git-core/templates/
GIT_PYTHON_DIR = $(prefix)/share/git-core/python
# DESTDIR=
+export prefix bindir gitexecdir template_dir GIT_PYTHON_DIR
+
CC = gcc
AR = ar
TAR = tar