Kaydet (Commit) 3dffe4a1 authored tarafından David Tardon's avatar David Tardon

install javadoc files using filelist

Change-Id: I434508057dbfab9410d8f7fc3844c45cd4201b11
Reviewed-on: https://gerrit.libreoffice.org/3588Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 498091c7
......@@ -37,6 +37,7 @@ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
) \
$(call gb_Package_get_target,odk_docs) \
$(call gb_Package_get_target,odk_html) \
$(if $(SOLAR_JAVA),$(call gb_Package_get_target,odk_javadoc)) \
$(call gb_Package_get_target,odk_lib) \
$(if $(filter MACOSX,$(OS)),$(call gb_Package_get_target,odk_macosx)) \
$(call gb_Package_get_target,odk_settings) \
......
......@@ -7,10 +7,7 @@
# 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
odkcommon_ZIPDEPS += $(odk_WORKDIR)/docs/java/ref/index.html
$(eval $(call gb_CustomTarget_CustomTarget,odk/docs/java/ref))
odk_JAVAPACKAGES := com.sun.star.comp.helper \
com.sun.star.lib.uno.helper \
......@@ -18,9 +15,20 @@ odk_JAVAPACKAGES := com.sun.star.comp.helper \
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))
$(eval $(call gb_CustomTarget_register_targets,odk/docs/java/ref,\
javadoc_log.txt \
))
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/package-list : $(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt
touch $@
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.css \
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.gif \
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/%.html : \
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt
touch $@
$(odk_WORKDIR)/docs/java/ref/index.html: $(call gb_Jar_get_outdir_target,ridl)
$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)/javadoc_log.txt : $(call gb_Jar_get_outdir_target,ridl)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JDC,1)
$(JAVADOC) -J-Xmx120m -use -splitindex \
-windowtitle "Java UNO Runtime Reference" \
......@@ -33,6 +41,6 @@ $(odk_WORKDIR)/docs/java/ref/index.html: $(call gb_Jar_get_outdir_target,ridl)
-linkoffline http://java.sun.com/j2se/1.5/docs/api $(SRCDIR)/odk/pack/gendocu/java \
$(odk_JAVAPACKAGES) \
$(if $(JAVADOCISGJDOC),,-notimestamp) \
> $(odk_WORKDIR)/javadoc_log.txt
> $@
# vim: set noet sw=4 ts=4:
......@@ -14,7 +14,6 @@ odkcommon_ZIPDEPS :=
$(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon))
$(call gb_CustomTarget_get_target,odk/odkcommon): \
$(if $(SOLAR_JAVA),$(call gb_CustomTarget_get_target,odk/odkcommon/docs/java/ref)) \
$(call gb_CustomTarget_get_target,odk/odkcommon/docs/common/ref) \
$(call gb_CustomTarget_get_target,odk/odkcommon/classes) \
$(call gb_CustomTarget_get_target,odk/odkcommon/idl) \
......
......@@ -56,6 +56,7 @@ $(eval $(call gb_Module_add_targets,odk,\
CustomTarget_classes \
CustomTarget_javadoc \
$(if $(filter WNT,$(OS)),Library_unowinreg) \
Package_javadoc \
Package_unowinreg \
Zip_uno_loader_classes \
))
......
# -*- 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_Package_Package,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
$(eval $(call gb_Package_set_outdir,odk_javadoc,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,odk_javadoc,$(gb_Package_SDKDIRNAME)/docs/java/ref,\
allclasses-frame.html \
allclasses-noframe.html \
com/sun/star/comp/helper/Bootstrap.html \
com/sun/star/comp/helper/BootstrapException.html \
com/sun/star/comp/helper/ComponentContext.html \
com/sun/star/comp/helper/ComponentContextEntry.html \
com/sun/star/comp/helper/SharedLibraryLoader.html \
com/sun/star/comp/helper/UnoInfo.html \
com/sun/star/comp/helper/class-use/Bootstrap.html \
com/sun/star/comp/helper/class-use/BootstrapException.html \
com/sun/star/comp/helper/class-use/ComponentContext.html \
com/sun/star/comp/helper/class-use/ComponentContextEntry.html \
com/sun/star/comp/helper/class-use/SharedLibraryLoader.html \
com/sun/star/comp/helper/class-use/UnoInfo.html \
com/sun/star/comp/helper/package-frame.html \
com/sun/star/comp/helper/package-summary.html \
com/sun/star/comp/helper/package-tree.html \
com/sun/star/comp/helper/package-use.html \
com/sun/star/lib/uno/helper/ComponentBase.html \
com/sun/star/lib/uno/helper/Factory.html \
com/sun/star/lib/uno/helper/InterfaceContainer.html \
com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html \
com/sun/star/lib/uno/helper/PropertySet.html \
com/sun/star/lib/uno/helper/PropertySetMixin.BoundListeners.html \
com/sun/star/lib/uno/helper/PropertySetMixin.html \
com/sun/star/lib/uno/helper/UnoUrl.html \
com/sun/star/lib/uno/helper/WeakAdapter.html \
com/sun/star/lib/uno/helper/WeakBase.html \
com/sun/star/lib/uno/helper/class-use/ComponentBase.html \
com/sun/star/lib/uno/helper/class-use/Factory.html \
com/sun/star/lib/uno/helper/class-use/InterfaceContainer.html \
com/sun/star/lib/uno/helper/class-use/MultiTypeInterfaceContainer.html \
com/sun/star/lib/uno/helper/class-use/PropertySet.html \
com/sun/star/lib/uno/helper/class-use/PropertySetMixin.BoundListeners.html \
com/sun/star/lib/uno/helper/class-use/PropertySetMixin.html \
com/sun/star/lib/uno/helper/class-use/UnoUrl.html \
com/sun/star/lib/uno/helper/class-use/WeakAdapter.html \
com/sun/star/lib/uno/helper/class-use/WeakBase.html \
com/sun/star/lib/uno/helper/package-frame.html \
com/sun/star/lib/uno/helper/package-summary.html \
com/sun/star/lib/uno/helper/package-tree.html \
com/sun/star/lib/uno/helper/package-use.html \
com/sun/star/lib/unoloader/UnoClassLoader.html \
com/sun/star/lib/unoloader/UnoLoader.html \
com/sun/star/lib/unoloader/class-use/UnoClassLoader.html \
com/sun/star/lib/unoloader/class-use/UnoLoader.html \
com/sun/star/lib/unoloader/package-frame.html \
com/sun/star/lib/unoloader/package-summary.html \
com/sun/star/lib/unoloader/package-tree.html \
com/sun/star/lib/unoloader/package-use.html \
com/sun/star/lib/util/UrlToFileMapper.html \
com/sun/star/lib/util/class-use/UrlToFileMapper.html \
com/sun/star/lib/util/package-frame.html \
com/sun/star/lib/util/package-summary.html \
com/sun/star/lib/util/package-tree.html \
com/sun/star/lib/util/package-use.html \
com/sun/star/uno/Any.html \
com/sun/star/uno/AnyConverter.html \
com/sun/star/uno/Ascii.html \
com/sun/star/uno/AsciiString.html \
com/sun/star/uno/Enum.html \
com/sun/star/uno/IBridge.html \
com/sun/star/uno/IEnvironment.html \
com/sun/star/uno/IFieldDescription.html \
com/sun/star/uno/IMapping.html \
com/sun/star/uno/IMemberDescription.html \
com/sun/star/uno/IMethodDescription.html \
com/sun/star/uno/IQueryInterface.html \
com/sun/star/uno/ITypeDescription.html \
com/sun/star/uno/MappingException.html \
com/sun/star/uno/Type.html \
com/sun/star/uno/Union.html \
com/sun/star/uno/UnoRuntime.html \
com/sun/star/uno/WeakReference.html \
com/sun/star/uno/class-use/Any.html \
com/sun/star/uno/class-use/AnyConverter.html \
com/sun/star/uno/class-use/Ascii.html \
com/sun/star/uno/class-use/AsciiString.html \
com/sun/star/uno/class-use/Enum.html \
com/sun/star/uno/class-use/IBridge.html \
com/sun/star/uno/class-use/IEnvironment.html \
com/sun/star/uno/class-use/IFieldDescription.html \
com/sun/star/uno/class-use/IMapping.html \
com/sun/star/uno/class-use/IMemberDescription.html \
com/sun/star/uno/class-use/IMethodDescription.html \
com/sun/star/uno/class-use/IQueryInterface.html \
com/sun/star/uno/class-use/ITypeDescription.html \
com/sun/star/uno/class-use/MappingException.html \
com/sun/star/uno/class-use/Type.html \
com/sun/star/uno/class-use/Union.html \
com/sun/star/uno/class-use/UnoRuntime.html \
com/sun/star/uno/class-use/WeakReference.html \
com/sun/star/uno/package-frame.html \
com/sun/star/uno/package-summary.html \
com/sun/star/uno/package-tree.html \
com/sun/star/uno/package-use.html \
constant-values.html \
deprecated-list.html \
help-doc.html \
index-files/index-1.html \
index-files/index-10.html \
index-files/index-11.html \
index-files/index-12.html \
index-files/index-13.html \
index-files/index-14.html \
index-files/index-15.html \
index-files/index-16.html \
index-files/index-17.html \
index-files/index-18.html \
index-files/index-19.html \
index-files/index-2.html \
index-files/index-20.html \
index-files/index-21.html \
index-files/index-3.html \
index-files/index-4.html \
index-files/index-5.html \
index-files/index-6.html \
index-files/index-7.html \
index-files/index-8.html \
index-files/index-9.html \
index.html \
overview-frame.html \
overview-summary.html \
overview-tree.html \
package-list \
resources/background.gif \
resources/tab.gif \
resources/titlebar.gif \
resources/titlebar_end.gif \
serialized-form.html \
stylesheet.css \
))
# vim: set noet sw=4 ts=4:
......@@ -41,6 +41,7 @@ Module gid_Module_Optional_Sdkoo
gid_File_Package_odk_config_notwin,
gid_File_Package_odk_docs,
gid_File_Package_odk_html,
gid_File_Package_odk_javadoc,
gid_File_Package_odk_lib,
gid_File_Package_odk_macosx,
gid_File_Package_odk_settings,
......
......@@ -169,6 +169,15 @@ File gid_File_Package_odk_html
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
End
#if defined(SOLAR_JAVA)
File gid_File_Package_odk_javadoc
TXT_FILE_BODY;
Dir = FILELIST_SDK_DIR;
Name = "odk_javadoc.filelist";
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
End
#endif
File gid_File_Package_odk_lib
TXT_FILE_BODY;
Dir = FILELIST_SDK_DIR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment