eclipse plugin: update the makefile to generate the javadoc aswell

This commit is contained in:
Timotei Dolean 2011-04-15 07:29:48 +00:00
parent a1c06468af
commit a1c5abdfca

View file

@ -1,5 +1,13 @@
makereadme:
JAVADOC_BINARY=javadoc
JAVADOC_DIR=javadoc
JAVADOC_FLAGS=-d $(JAVADOC_DIR) -sourcepath src -public -source 1.6 -use -version -author -splitindex -link http://java.sun.com/javase/6/docs/api/ -subpackages org.wesnoth
.PHONY: readme, javadoc
readme:
cd readme; pdflatex README.tex
# cleanup non-needed files
cd readme; rm README.log; rm README.aux;
cd readme; cp README.pdf ..;
javadoc:
$(JAVADOC_BINARY) $(JAVADOC_FLAGS)