Browse Source

Improved git to install gitweb in $docdir

early
Alejandro Mery 17 years ago
parent
commit
d9bb9b8377
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      develop/git/git.conf

+ 10
- 0
develop/git/git.conf

@ -16,3 +16,13 @@ if pkginstalled asciidoc; then
var_append makeopt ' ' 'doc'
var_append makeinstopt ' ' 'install-doc'
fi
gitweb_install() {
local dir="$root$docdir/gitweb"
mkdir -p "$dir"
cp -vf gitweb/*.{cgi,png,css} "$dir/"
cp -vf gitweb/README "$dir/"
}
hook_add postmake 5 'gitweb_install'

Loading…
Cancel
Save