Runs through defined "PLUGINS" and creates Javadoc. Assumes src is a subdir. Signed-off-by: Nick Campbell <nicholas.j.campbell@xxxxxxxxx> --- make_jgit.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/make_jgit.sh b/make_jgit.sh index baaa3af..25ac15c 100755 --- a/make_jgit.sh +++ b/make_jgit.sh @@ -3,6 +3,7 @@ O_CLI=jgit O_JAR=jgit.jar O_SRC=jgit_src.zip +O_DOC=jgit_docs.zip PLUGINS=" org.spearce.jgit @@ -119,3 +120,12 @@ mv $O_CLI+ $O_CLI && echo "Created $O_CLI." || die "Build failed." cleanup_bin + +echo "Build Docs" +for p in $PLUGINS; do + javadoc -sourcepath "$p/src/" -d "docs/$p/" `find "$p/src" -name "*.java"` +done + +jar cf "$O_DOC" docs/ +echo "Created $O_DOC." + -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html