summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-07-26 14:32:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-26 19:24:19 (GMT)
commit941ba215fb9fc9e08705e86ea93e0f6f74d0faaf (patch)
tree35a21a5eec58ca20ba2733fd7638ca6c7d2411e4 /Makefile
parent2b5d2d8792c861913d48bcfe02d8a6049c3911f5 (diff)
downloadgit-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.zip
git-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.tar.gz
git-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.tar.bz2
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 3e085df..691e40b 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 $@+ $@