summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorKai Ruemmler <kai.ruemmler@gmx.net>2005-10-08 22:54:37 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-08 22:54:37 (GMT)
commitd2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47 (patch)
tree3d9eb6fa46124b7e950ce29992a8ce79ef54a168 /Documentation/Makefile
parentf48000fcbe1009c18f1cc46e56cde2cb632071fa (diff)
downloadgit-d2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47.zip
git-d2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47.tar.gz
git-d2b8593fd3754cf2e0b9a121fe6ba63bfefa3a47.tar.bz2
make $prefix available for sub-makefiles
exports $prefix and makes Documentation/Makefile following it also. Signed-off-by: Kai Ruemmler <kai.ruemmler@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index bb21d6a..3cfa360 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -17,14 +17,14 @@ DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))
DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT))
-prefix=$(HOME)
+prefix?=$(HOME)
bin=$(prefix)/bin
mandir=$(prefix)/man
man1=$(mandir)/man1
man7=$(mandir)/man7
# DESTDIR=
-INSTALL=install
+INSTALL?=install
#
# Please note that there is a minor bug in asciidoc.