Browse Source

Improved git to install gitweb in $docdir

early
Alejandro Mery 18 years ago
parent
commit
d9bb9b8377
  1. 10
      develop/git/git.conf

10
develop/git/git.conf

@ -16,3 +16,13 @@ if pkginstalled asciidoc; then
var_append makeopt ' ' 'doc' var_append makeopt ' ' 'doc'
var_append makeinstopt ' ' 'install-doc' var_append makeinstopt ' ' 'install-doc'
fi 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