summaryrefslogtreecommitdiffstats
path: root/gitweb/README
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2006-08-01 21:34:08 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-01 15:44:47 -0700
commit5d043a3d856bd40d8b34b8836a561e438d23573b (patch)
tree9f90ec3953e7b33066cb93359f21026a33f651f0 /gitweb/README
parent6326b60cfd9c953e64ddab9659587afeedccd95b (diff)
downloadgit-5d043a3d856bd40d8b34b8836a561e438d23573b.tar.gz
git-5d043a3d856bd40d8b34b8836a561e438d23573b.tar.xz
gitweb: fill in gitweb configuration by Makefile
Generate gitweb/gitweb.cgi to reduce the need to patch gitweb.cgi by the end user. The GIT installation directory is already known by the Makefile, and can be inserted directly into gitweb. All other gitweb configuration parameters can now be specified by providing GITWEB_* variables while building GIT. These are described in gitweb/README. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/README')
-rw-r--r--gitweb/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/gitweb/README b/gitweb/README
index 8d672762e..ed939e2fb 100644
--- a/gitweb/README
+++ b/gitweb/README
@@ -5,5 +5,22 @@ The one working on:
From the git version 1.4.0 gitweb is bundled with git.
+
+How to configure gitweb for your local system:
+
+You can specify the following configuration variables when building GIT:
+ * GITWEB_SITENAME
+ Shown in the title of all generated pages, defaults to the servers name.
+ * GITWEB_PROJECTROOT
+ The root directory for all projects shown by gitweb.
+ * GITWEB_LIST
+ points to a directory to scan for projects (defaults to project root)
+ or to a file for explicit listing of projects.
+ * GITWEB_HOMETEXT
+ points to an .html file which is included on the gitweb project
+ overview page.
+ * GITWEB_CSS
+ Points to the location where you put gitweb.css on your web server.
+
Any comment/question/concern to:
Kay Sievers <kay.sievers@vrfy.org>