summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f48000f)
raw | patch | inline | side by side (parent: f48000f)
author | Kai Ruemmler <kai.ruemmler@gmx.net> | |
Sat, 8 Oct 2005 22:54:37 +0000 (15:54 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 8 Oct 2005 22:54:37 +0000 (15:54 -0700) |
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>
Signed-off-by: Kai Ruemmler <kai.ruemmler@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/Makefile | patch | blob | history | |
Makefile | patch | blob | history |
diff --git a/Documentation/Makefile b/Documentation/Makefile
index bb21d6af44e6aa591c2adb33e0447853ac1c65c5..3cfa360a9e4876286bfb37230daca6af8c799725 100644 (file)
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
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.
diff --git a/Makefile b/Makefile
index 7ca77cf2af012aa4a6d936425e518618af9dd625..bcda94327347de5c9e0efc2f0491fa0db9ffb635 100644 (file)
--- a/Makefile
+++ b/Makefile
$(patsubst %.py,%,$(SCRIPT_PYTHON)) \
gitk
-export TAR INSTALL DESTDIR SHELL_PATH
+export prefix TAR INSTALL DESTDIR SHELL_PATH
### Build rules
all: $(PROGRAMS) $(SCRIPTS)