]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
git-instaweb: Configure it to work with new gitweb structure
authorPavan Kumar Sunkara <pavan.sss1991@gmail.com>
Fri, 28 May 2010 06:25:52 +0000 (11:55 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jun 2010 00:56:53 +0000 (17:56 -0700)
commitc0cb4ed3e653a37a53ef3a1e08daa42ac9cbc3fc
tree601f142f93eb0eb7775905b63eae545416f5b661
parentbe5347b398dd35cdbbb2e2d8b102aacca853df86
git-instaweb: Configure it to work with new gitweb structure

git-instaweb in its current form (re)creates gitweb.cgi and
(some of) required static files in $GIT_DIR/gitweb/ directory.
Splitting gitweb would make it difficult for git-instaweb to
continue with this method.

Use the instaweb.gitwebdir config variable to point git-instaweb script
to a global directory which contains gitweb files as server root
and the httpd.conf along with server logs and pid go into
'$(GIT_DIR)/gitweb' directory.

Signed-off-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Petr Baudis <pasky@ucw.cz>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
git-instaweb.sh