Modify build file to include html doc in artifacts
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5cefe503 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5cefe503 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5cefe503 Branch: refs/heads/trunk Commit: 5cefe503e0b529ef3d6b81c467de93d39e77a97d Parents: 7988b3f Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Mon Jun 27 20:31:43 2016 +0200 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Mon Jun 27 20:31:43 2016 +0200 ---------------------------------------------------------------------- build.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/5cefe503/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 51f7252..8946ea3 100644 --- a/build.xml +++ b/build.xml @@ -1021,7 +1021,7 @@ </target> <!-- creates release tarballs --> - <target name="artifacts" depends="jar,javadoc" + <target name="artifacts" depends="jar,javadoc,gen-doc" description="Create Cassandra release artifacts"> <mkdir dir="${dist.dir}"/> <!-- fix the control linefeed so that builds on windows works on linux --> @@ -1041,9 +1041,15 @@ </copy> <copy todir="${dist.dir}/doc"> <fileset dir="doc"> - <exclude name="cql3/CQL.textile"/> + <include name="cql3/CQL.html" /> + <include name="cql3/CQL.css" /> + <include name="SASI.md" /> </fileset> </copy> + <copy todir="${dist.dir}/doc/html"> + <fileset dir="doc" /> + <globmapper from="build/html/*" to="*"/> + </copy> <copy todir="${dist.dir}/bin"> <fileset dir="bin"/> </copy>