########################################################################## # General documentation targets docs: java-doc navidoc navilink DOCPKGS= org.fenfire\ org.fenfire.loom\ org.fenfire.loom.util JAVADOCOPTS=-use -version -author -windowtitle "Loom Java API" java-doc: find . -name '*.class' | xargs rm -f # Don't let javadoc see these rm -Rf doc/javadoc mkdir -p doc/javadoc javadoc $(JAVADOCOPTS) -d doc/javadoc -sourcepath . $(DOCPKGS) ########################################################################## # Navidoc documentation targets navidoc: # Compiles ReST into HTML make -C "../navidoc/" html RST="../loom/doc/" navilink: # Bi-directional linking using imagemaps make -C "../navidoc/" imagemap HTML="../loom/doc/" peg: # Creates a new PEG, uses python for quick use make -C "../navidoc/" new-peg PEGDIR="../loom/doc/pegboard" pegs: # Compiles only pegboard make -C "../navidoc/" html $(DBG) RST="../loom/doc/pegboard/" html: # Compiles ReST into HTML, directories are processed recursively make -C "../navidoc/" html $(DBG) RST="../loom/$(RST)" html-loop: # Loop version for quick recompiling make -C "../navidoc/" html-loop $(DBG) RST="../loom/$(RST)" latex: # Compiles ReST into LaTeX, directories are processed recursively make -C "../navidoc/" latex $(DBG) RST="../loom/$(RST)" latex-loop: # Loop version for quick recompiling make -C "../navidoc/" latex-loop $(DBG) RST="../loom/$(RST)"