Browse Source

* improved asciidoc.conf to install examples and doc at $docdir

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21546 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
12958df7ce
  1. 12
      textproc/asciidoc/asciidoc.conf

12
textproc/asciidoc/asciidoc.conf

@ -33,4 +33,14 @@ asciidoc_prepare() {
install.sh
}
hook_add premake 5 './install.sh'
hook_add postmake 5 './install.sh'
hook_add postmake 7 'asciidoc_doc'
asciidoc_doc() {
cp -av examples doc $root$docdir
rm $root$docdir/doc/{images,docbook-xsl.css}
ln -snf $sysconfdir/images $root$docdir/doc
ln -snf $sysconfdir/docbook-xsl.css $root$docdir/doc
}

Loading…
Cancel
Save