aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjtauber <jtauber@unknown>1999-11-29 18:11:46 +0000
committerjtauber <jtauber@unknown>1999-11-29 18:11:46 +0000
commitbc462900c2f2c2762915ce600ecfabefb613c488 (patch)
treeb1996b555ce211e456e4081e8ba1a8a732b0801d /Makefile
parentffc9fed7ddec94e1b9d2f8d50bdce62ea1646569 (diff)
downloadxmlgraphics-fop-bc462900c2f2c2762915ce600ecfabefb613c488.tar.gz
xmlgraphics-fop-bc462900c2f2c2762915ce600ecfabefb613c488.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 27 insertions, 2 deletions
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) && \