summaryrefslogtreecommitdiff
path: root/www/gitweb
diff options
context:
space:
mode:
authorjmmv <jmmv>2007-03-22 17:34:48 +0000
committerjmmv <jmmv>2007-03-22 17:34:48 +0000
commit83df8df3be77f3a3b33659e07c4e6b112eeead6a (patch)
tree490229841f49aca32d77f0ae43637221e5e2d5de /www/gitweb
parent9c549ee9b716146888b5dca82c81f218bdd662d7 (diff)
downloadpkgsrc-83df8df3be77f3a3b33659e07c4e6b112eeead6a.tar.gz
Clarify that site_header, home_text and site_footer take absolute filenames.
Diffstat (limited to 'www/gitweb')
-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.