1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_CustomTarget_CustomTarget
,odk
/docs
/java
/ref
))
12 odk_JAVAPACKAGES
:= com.sun.star.comp.helper \
13 com.sun.star.lib.uno.helper \
14 com.sun.star.lib.unoloader \
16 $(SRCDIR
)/ridljar
/com
/sun
/star
/lib
/util
/UrlToFileMapper.java
18 $(eval
$(call gb_CustomTarget_register_targets
,odk
/docs
/java
/ref
,\
22 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/package-list
: $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/javadoc_log.txt
25 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/%.css \
26 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/%.gif \
27 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/%.html
: \
28 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/javadoc_log.txt
31 $(gb_CustomTarget_workdir
)/odk
/docs
/java
/ref
/javadoc_log.txt
: \
32 $(call gb_Jar_get_target
,libreoffice
)
33 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),JDC
,1)
34 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),JDC
)
35 $(call gb_Helper_abbreviate_dirs
,\
36 $(JAVADOC
) -source
$(JAVA_SOURCE_VER
) -J-Xmx120m
-use
-splitindex \
37 -windowtitle
"Java UNO Runtime Reference" \
38 -header
"$(PRODUCTNAME) $(PRODUCTVERSION) SDK Java API Reference"\
39 -tag attention
:a
:"Attention:" \
41 -sourcepath
"$(SRCDIR)/ridljar/source/unoloader$(gb_CLASSPATHSEP)$(SRCDIR)/ridljar$(gb_CLASSPATHSEP)$(SRCDIR)/jurt$(gb_CLASSPATHSEP)$(SRCDIR)/javaunohelper" \
42 -classpath
$(call gb_Jar_get_target
,libreoffice
) \
43 -linkoffline ..
/..
/common
/reg
$(SRCDIR
)/odk
/docs
/java-uno \
44 -linkoffline http
://java.sun.com
/j2se
/1.5/docs
/api
$(SRCDIR
)/odk
/docs
/java \
46 $(if
$(JAVADOCISGJDOC
),,-notimestamp
) \
48 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),JDC
)
50 # vim: set noet sw=4 ts=4: