Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / odk / CustomTarget_javadoc.mk
bloba8f83dcd83c68f8f45fc38ec007ba092f186c4b2
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 \
15 com.sun.star.uno \
16 $(SRCDIR)/jurt/com/sun/star/lib/util/UrlToFileMapper.java
18 $(eval $(call gb_CustomTarget_register_targets,odk/docs/java/ref,\
19 javadoc_log.txt \
22 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/package-list : $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt
23 touch $@
25 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.css \
26 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.gif \
27 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.html : \
28 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt
29 touch $@
31 $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt : \
32 $(call gb_Jar_get_target,ridl)
33 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JDC,1)
34 $(call gb_Helper_abbreviate_dirs,\
35 $(JAVADOC) -J-Xmx120m -use -splitindex \
36 -windowtitle "Java UNO Runtime Reference" \
37 -header "$(PRODUCTNAME) $(PRODUCTVERSION) SDK Java API Reference"\
38 -tag attention:a:"Attention:" \
39 -d $(dir $@) \
40 -sourcepath "$(SRCDIR)/ridljar/source/unoloader$(gb_CLASSPATHSEP)$(SRCDIR)/ridljar$(gb_CLASSPATHSEP)$(SRCDIR)/jurt$(gb_CLASSPATHSEP)$(SRCDIR)/javaunohelper" \
41 -classpath $(call gb_Jar_get_target,ridl) \
42 -linkoffline ../../common/reg $(SRCDIR)/odk/docs/java-uno \
43 -linkoffline http://java.sun.com/j2se/1.5/docs/api $(SRCDIR)/odk/docs/java \
44 $(odk_JAVAPACKAGES) \
45 $(if $(JAVADOCISGJDOC),,-notimestamp) \
46 > $@)
48 # vim: set noet sw=4 ts=4: