From bc462900c2f2c2762915ce600ecfabefb613c488 Mon Sep 17 00:00:00 2001 From: jtauber Date: Mon, 29 Nov 1999 18:11:46 +0000 Subject: added new make target 'docs' to generate JavaDoc docs git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193254 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2b98fe658..8a22c526b 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ # BASEDIR=. +APIDOCDIR=docs/api + include $(BASEDIR)/Makefile.rules SUBDIRS=src @@ -42,6 +44,24 @@ PROPERTIESXSL=$(CODEGEN)/properties.xsl CHARLISTXML =$(CODEGEN)/charlist.xml CHARLISTXSL =$(CODEGEN)/code-point-mapping.xsl +PACKAGES=org.apache.fop.apps \ + org.apache.fop.datatypes \ + org.apache.fop.fo \ + org.apache.fop.fo.flow \ + org.apache.fop.fo.pagination \ + org.apache.fop.image \ + org.apache.fop.layout \ + org.apache.fop.pdf \ + org.apache.fop.render \ + org.apache.fop.render.awt \ + org.apache.fop.render.pdf \ + org.apache.fop.render.xml \ + org.apache.fop.svg \ + org.apache.fop.viewer \ + org.apache.fop.fo.properties \ + org.apache.fop.render.pdf.fonts + + all: codegen allsubs clean: cleansubs @@ -51,8 +71,7 @@ clobber: clean rm -rf $(GENDIR) rm -rf $(JARTEMP) $(JARTOC) $(JARFILE) rm -f $(SRCJAR) - - + rm -rf $(APIDOCDIR) codegen: $(GENDIR) compilegen @@ -77,6 +96,9 @@ charlist: $(CHARLISTXML) $(CHARLISTXSL) fonts: $(FONTXML) $(FONTXSL) cd $(GENDIR) && for font in $(FONTXML) ; do $(XT) ../$$font ../$(FONTXSL) ; done +docs: all $(APIDOCDIR) + $(JAVADOC) $(JAVADOC_ARGS) $(PACKAGES) + dist: all $(JARTEMP) distgen distorg rm -f $(JARFILE) cd $(JARTEMP) && $(JAR) -cf ../$(JARFILE) * @@ -88,6 +110,9 @@ srcdist: clobber $(JARTEMP): mkdir $(JARTEMP) +$(APIDOCDIR): + mkdir $(APIDOCDIR) + distgen: cd $(GENDIR) && \ rm -f $(JARTOC) && \ -- cgit v1.2.3