|
|
use doc && antflags="${antflags} doc" | use doc && antflags="${antflags} doc" |
use jikes && antflags="${antflags} -Dbuild.compiler=jikes" | use jikes && antflags="${antflags} -Dbuild.compiler=jikes" |
ant ${antflags} || die "ant failed" | ant ${antflags} || die "ant failed" |
|
|
|
mv javadoc api # move javadoc location, so it'll be installed to the right place |
} | } |
| |
src_install() { | src_install() { |
|
|
dobin ${PN} | dobin ${PN} |
| |
dodoc README.txt | dodoc README.txt |
use doc && java-pkg_dohtml -r javadoc/* |
use doc && java-pkg_dohtml -r api |
| |
if use examples; then | if use examples; then |
dodir /usr/share/doc/${PF}/examples | dodir /usr/share/doc/${PF}/examples |