Author: mck
Date: Mon Jan  7 07:06:38 2019
New Revision: 1850613

URL: http://svn.apache.org/viewvc?rev=1850613&view=rev
Log:
Build nodetool jarfile in $CASSANDRA_DIR before running `python 
gen-nodetool-docs.py`

 Patch by Joey Lynch; reviewed by Mick Semb Wever for CASSANDRA-14955

Modified:
    cassandra/site/src/Makefile

Modified: cassandra/site/src/Makefile
URL: 
http://svn.apache.org/viewvc/cassandra/site/src/Makefile?rev=1850613&r1=1850612&r2=1850613&view=diff
==============================================================================
--- cassandra/site/src/Makefile (original)
+++ cassandra/site/src/Makefile Mon Jan  7 07:06:38 2019
@@ -21,6 +21,8 @@ endif
 # Not declaring DOC_VERSION at top-level cause it calls ant and that's 
stupidly slow
        $(eval DOC_VERSION=$(shell echo `cd $(CASSANDRA_DOC_DIR)/..; ant 
echo-base-version | grep '\[echo\]' | awk '{print $$2}'`))
        $(eval DOC_DIR="doc/$(DOC_VERSION)")
+       # Nodetool docs are autogenerated, but that needs nodetool to be built
+       @cd $(CASSANDRA_DIR); ant jar
        @cd $(CASSANDRA_DOC_DIR); make website
        @if [ -d $(DOC_DIR) ]; then rm -rf $(DOC_DIR); fi
        @cp -r $(CASSANDRA_DOC_DIR)/build/html $(DOC_DIR)



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to