summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2007-03-22 17:34:48 +0000
committerjmmv <jmmv@pkgsrc.org>2007-03-22 17:34:48 +0000
commit1a92280a3b73cc7e63f9838731ffc349cb2949e6 (patch)
tree490229841f49aca32d77f0ae43637221e5e2d5de
parent07a8a1695601b8531a5dbb31afd064711c9a009f (diff)
downloadpkgsrc-1a92280a3b73cc7e63f9838731ffc349cb2949e6.tar.gz
Clarify that site_header, home_text and site_footer take absolute filenames.
-rw-r--r--www/gitweb/Makefile4
-rw-r--r--www/gitweb/files/gitweb.conf3
2 files changed, 5 insertions, 2 deletions
diff --git a/www/gitweb/Makefile b/www/gitweb/Makefile
index 432293e3006..5fc6ec941ba 100644
--- a/www/gitweb/Makefile
+++ b/www/gitweb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/22 17:15:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2007/03/22 17:34:48 jmmv Exp $
#
DISTNAME= git-1.5.0.3
@@ -20,7 +20,7 @@ MAKE_FLAGS= prefix=${PREFIX}
MAKE_FLAGS+= GITWEB_FAVICON=/gitweb/git-favicon.png
MAKE_FLAGS+= GITWEB_CONFIG=${GITWEB_CONFIG}
MAKE_FLAGS+= GITWEB_CSS=/gitweb/gitweb.css
-MAKE_FLAGS+= GITWEB_HOMETEXT=/gitweb/indextext.html
+MAKE_FLAGS+= GITWEB_HOMETEXT=${GITWEB_HTDOCS}/indextext.html
MAKE_FLAGS+= GITWEB_LOGO=/gitweb/git-logo.png
MAKE_FLAGS+= PERL_PATH=${PERL5:Q}
diff --git a/www/gitweb/files/gitweb.conf b/www/gitweb/files/gitweb.conf
index 136102c61c6..f5fc71c8376 100644
--- a/www/gitweb/files/gitweb.conf
+++ b/www/gitweb/files/gitweb.conf
@@ -27,10 +27,13 @@
#our $site_name = ""
# Filename of HTML text to include at top of each page.
+# Must be an absolute filename (i.e., not relative to htdocs).
#our $site_header = "";
# HTML text to include at home page.
+# Must be an absolute filename (i.e., not relative to htdocs).
#our $home_text = "/gitweb/indextext.html";
# Filename of HTML text to include at bottom of each page.
+# Must be an absolute filename (i.e., not relative to htdocs).
#our $site_footer = "";
# URI of the stylesheet to use.