summaryrefslogtreecommitdiffstats
path: root/git/MAKE-gitweb.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-29 03:34:26 +0100
committerSven Gothel <[email protected]>2010-11-29 03:34:26 +0100
commitfa337a3723a2b376bdc7f74da5f5321eb8cb57f3 (patch)
treeaafdd3219f7a6b80f64901e37228f26b37c02f9f /git/MAKE-gitweb.sh
parentf44fb7920627ac00d2c3f949793d0d92fdea1bcd (diff)
Add git scripts/doc; enable post update hook in git-make script
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
+
+
+