summaryrefslogtreecommitdiffstats
path: root/git/MAKE-gitweb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git/MAKE-gitweb.sh')
-rw-r--r--git/MAKE-gitweb.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/git/MAKE-gitweb.sh b/git/MAKE-gitweb.sh
new file mode 100644
index 0000000..cffb7d2
--- /dev/null
+++ b/git/MAKE-gitweb.sh
@@ -0,0 +1,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
+
+
+