From fa337a3723a2b376bdc7f74da5f5321eb8cb57f3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 29 Nov 2010 03:34:26 +0100 Subject: Add git scripts/doc; enable post update hook in git-make script --- git/MAKE-gitweb.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 git/MAKE-gitweb.sh (limited to 'git/MAKE-gitweb.sh') 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 + + + -- cgit v1.2.3