summaryrefslogtreecommitdiffstats
path: root/git/MAKE-gitweb.sh
blob: cffb7d28520916912c992643efccc82f1d77f8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# git-1.7.3.2
#
# - To install gitweb to /src/www/git/ when git wrapper
#   is installed at /opt-linux-x86_64/bin/git and the repositories (projects)
#   we want to display are under /srv/scm, you can do
#
# Run this from the gitweb folder, which contains the gitweb source
#

gitinstall=/opt-linux-x86_64
wwwgitdir=/srv/www/jogamp.org/git
scmdir=/srv/scm

	make GITWEB_PROJECTROOT="$scmdir" \
	     GITWEB_JS="static/gitweb.js" \
	     GITWEB_CSS="static/gitweb.css" \
	     GITWEB_LOGO="static/git-logo.png" \
	     GITWEB_FAVICON="static/git-favicon.png" \
	     bindir=$gitinstall/bin \


    rm -rf $wwwgitdir/static
    cp -a  static $wwwgitdir
	cp -fv gitweb.{cgi,perl} gitweb_config.perl $wwwgitdir