office-gobmx/odk/CustomTarget_javadoc.mk
Stephan Bergmann 957cebbeb3 Use PRODUCTVERSION instead of UDK_MAJOR/MINOR/MICRO in SDK HTML documentation
Change-Id: I132723457e02d6b3b9fa24d7d41ac621b03ef7b1
2013-02-27 18:43:56 +01:00

36 lines
1.4 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon/docs/java/ref))
odkcommon_ZIPLIST += docs/java/ref
odk_JAVAPACKAGES := com.sun.star.comp.helper \
com.sun.star.lib.uno.helper \
com.sun.star.lib.unoloader \
com.sun.star.uno \
$(SRCDIR)/jurt/com/sun/star/lib/util/UrlToFileMapper.java
$(eval $(call gb_CustomTarget_register_target,odk/odkcommon/docs/java/ref,index.html))
$(odk_WORKDIR)/docs/java/ref/index.html: $(call gb_Jar_get_target,ridl)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JDC,1)
$(JAVADOC) -J-Xmx120m -use -splitindex \
-windowtitle "Java UNO Runtime Reference" \
-header "$(PRODUCTNAME) $(PRODUCTVERSION) SDK Java API Reference"\
-d $(dir $@) \
-sourcepath "$(SRCDIR)/ridljar/source/unoloader$(gb_CLASSPATHSEP)$(SRCDIR)/ridljar$(gb_CLASSPATHSEP)$(SRCDIR)/jurt$(gb_CLASSPATHSEP)$(SRCDIR)/javaunohelper" \
-classpath $(OUTDIR)/bin/ridl.jar \
-linkoffline ../../common/reg ./uno \
-linkoffline http://java.sun.com/j2se/1.5/docs/api ./java \
$(odk_JAVAPACKAGES) \
$(if $(JAVADOCISGJDOC),,-notimestamp) \
> $(odk_WORKDIR)/javadoc_log.txt
# vim: set noet sw=4 ts=4: