summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Martin Waitz <tali@admingilde.org>2006-07-31 00:38:39 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-01 15:55:19 -0700
commit281f2f6b45bf62e5bc81a6b457f1f7d26c426ea3 (patch)
treeb8a4d67864287e377c987cb2c1a6c379986111a3 /Makefile
parentgitweb: fill in gitweb configuration by Makefile (diff)
downloadtgif-281f2f6b45bf62e5bc81a6b457f1f7d26c426ea3.tar.xz
gitweb: use out-of-line GIT logo.
Use the normal web server instead of the CGI to provide the git logo, just like the gitweb.css. Signed-off-by: Martin Waitz <tali@admingilde.org> 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 fb2b28868a..ac5db1ef4c 100644
--- a/Makefile
+++ b/Makefile
@@ -122,6 +122,7 @@ GITWEB_PROJECTROOT = /pub/git
GITWEB_LIST =
GITWEB_HOMETEXT = indextext.html
GITWEB_CSS = gitweb.css
+GITWEB_LOGO = git-logo.png
export prefix bindir gitexecdir template_dir GIT_PYTHON_DIR
@@ -589,6 +590,7 @@ gitweb/gitweb.cgi: gitweb/gitweb.perl
-e 's|@@GITWEB_LIST@@|$(GITWEB_LIST)|g' \
-e 's|@@GITWEB_HOMETEXT@@|$(GITWEB_HOMETEXT)|g' \
-e 's|@@GITWEB_CSS@@|$(GITWEB_CSS)|g' \
+ -e 's|@@GITWEB_LOGO@@|$(GITWEB_LOGO)|g' \
$< >$@+
chmod +x $@+
mv $@+ $@