aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-07-26 16:32:51 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-26 12:24:19 -0700
commit941ba215fb9fc9e08705e86ea93e0f6f74d0faaf (patch)
tree35a21a5eec58ca20ba2733fd7638ca6c7d2411e4 /Makefile
parent2b5d2d8792c861913d48bcfe02d8a6049c3911f5 (diff)
downloadgit-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.tar.gz
git-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.tar.xz
git-instaweb: respect bindir from Makefile
Not everybody installs git to /usr/bin/git. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e085dfa6..691e40b7b 100644
--- a/Makefile
+++ b/Makefile
@@ -575,7 +575,7 @@ git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/gitweb.css
-e '/@@GITWEB_CGI@@/d' \
-e '/@@GITWEB_CSS@@/r gitweb/gitweb.css' \
-e '/@@GITWEB_CSS@@/d' \
- $@.sh > $@+
+ $@.sh | sed "s|/usr/bin/git|$(bindir)/git|" > $@+
chmod +x $@+
mv $@+ $@