89a3e48
From a59e5ecd611ddd41cec6d9c78773f55887df67e6 Mon Sep 17 00:00:00 2001
89a3e48
From: Stephan Bergmann <sbergman@redhat.com>
89a3e48
Date: Tue, 25 Feb 2014 15:44:16 +0100
89a3e48
Subject: [PATCH] Change SDK javaodc from static Package to dynamic
89a3e48
 GeneratedPackage
89a3e48
89a3e48
...as e.g. the list of resrouces/*.gif apparently varies per javadoc version.
89a3e48
89a3e48
Change-Id: Idcf95229295c1c5cd16e565bcd168c1a0e7d4f0c
89a3e48
---
89a3e48
 odk/GeneratedPackage_odk_javadoc.mk |  16 ++++
89a3e48
 odk/Module_odk.mk                   |   2 +-
89a3e48
 odk/Package_javadoc.mk              | 146 ------------------------------------
89a3e48
 3 files changed, 17 insertions(+), 147 deletions(-)
89a3e48
 create mode 100644 odk/GeneratedPackage_odk_javadoc.mk
89a3e48
 delete mode 100644 odk/Package_javadoc.mk
89a3e48
89a3e48
diff --git a/odk/GeneratedPackage_odk_javadoc.mk b/odk/GeneratedPackage_odk_javadoc.mk
89a3e48
new file mode 100644
89a3e48
index 0000000..569377b
89a3e48
--- /dev/null
89a3e48
+++ b/odk/GeneratedPackage_odk_javadoc.mk
89a3e48
@@ -0,0 +1,16 @@
89a3e48
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
89a3e48
+#
89a3e48
+# This file is part of the LibreOffice project.
89a3e48
+#
89a3e48
+# This Source Code Form is subject to the terms of the Mozilla Public
89a3e48
+# License, v. 2.0. If a copy of the MPL was not distributed with this
89a3e48
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
89a3e48
+#
89a3e48
+
89a3e48
+$(eval $(call gb_GeneratedPackage_GeneratedPackage,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
89a3e48
+
89a3e48
+$(eval $(call gb_GeneratedPackage_add_dir,odk_javadoc,$(INSTDIR)/$(SDKDIRNAME)/docs/java/ref,.))
89a3e48
+
89a3e48
+$(eval $(call gb_GeneratedPackage_use_customtarget,odk_javadoc,odk/docs/java/ref))
89a3e48
+
89a3e48
+# vim: set noet sw=4 ts=4:
89a3e48
diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
89a3e48
index 9ddc400..32bdfc1 100644
89a3e48
--- a/odk/Module_odk.mk
89a3e48
+++ b/odk/Module_odk.mk
89a3e48
@@ -44,9 +44,9 @@ $(eval $(call gb_Module_add_targets,odk,\
89a3e48
 	$(if $(filter YESGCC,$(BUILD_UNOWINREG)$(COM)),CustomTarget_unowinreg) \
89a3e48
 	CustomTarget_classes \
89a3e48
 	CustomTarget_javadoc \
89a3e48
+	GeneratedPackage_odk_javadoc \
89a3e48
 	GeneratedPackage_uno_loader_classes \
89a3e48
 	$(if $(filter WNT,$(OS)),Library_unowinreg) \
89a3e48
-	Package_javadoc \
89a3e48
 	Package_unowinreg \
89a3e48
 ))
89a3e48
 endif
89a3e48
diff --git a/odk/Package_javadoc.mk b/odk/Package_javadoc.mk
89a3e48
deleted file mode 100644
89a3e48
index 5f0ea44..0000000
89a3e48
--- a/odk/Package_javadoc.mk
89a3e48
+++ /dev/null
89a3e48
@@ -1,146 +0,0 @@
89a3e48
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
89a3e48
-#
89a3e48
-# This file is part of the LibreOffice project.
89a3e48
-#
89a3e48
-# This Source Code Form is subject to the terms of the Mozilla Public
89a3e48
-# License, v. 2.0. If a copy of the MPL was not distributed with this
89a3e48
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
89a3e48
-#
89a3e48
-
89a3e48
-$(eval $(call gb_Package_Package,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
89a3e48
-
89a3e48
-$(eval $(call gb_Package_set_outdir,odk_javadoc,$(INSTDIR)))
89a3e48
-
89a3e48
-$(eval $(call gb_Package_add_files_with_dir,odk_javadoc,$(SDKDIRNAME)/docs/java/ref,\
89a3e48
-	allclasses-frame.html \
89a3e48
-	allclasses-noframe.html \
89a3e48
-	com/sun/star/comp/helper/Bootstrap.html \
89a3e48
-	com/sun/star/comp/helper/BootstrapException.html \
89a3e48
-	com/sun/star/comp/helper/ComponentContext.html \
89a3e48
-	com/sun/star/comp/helper/ComponentContextEntry.html \
89a3e48
-	com/sun/star/comp/helper/SharedLibraryLoader.html \
89a3e48
-	com/sun/star/comp/helper/class-use/Bootstrap.html \
89a3e48
-	com/sun/star/comp/helper/class-use/BootstrapException.html \
89a3e48
-	com/sun/star/comp/helper/class-use/ComponentContext.html \
89a3e48
-	com/sun/star/comp/helper/class-use/ComponentContextEntry.html \
89a3e48
-	com/sun/star/comp/helper/class-use/SharedLibraryLoader.html \
89a3e48
-	com/sun/star/comp/helper/package-frame.html \
89a3e48
-	com/sun/star/comp/helper/package-summary.html \
89a3e48
-	com/sun/star/comp/helper/package-tree.html \
89a3e48
-	com/sun/star/comp/helper/package-use.html \
89a3e48
-	com/sun/star/lib/uno/helper/ComponentBase.html \
89a3e48
-	com/sun/star/lib/uno/helper/Factory.html \
89a3e48
-	com/sun/star/lib/uno/helper/InterfaceContainer.html \
89a3e48
-	com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.html \
89a3e48
-	com/sun/star/lib/uno/helper/PropertySet.html \
89a3e48
-	com/sun/star/lib/uno/helper/PropertySetMixin.BoundListeners.html \
89a3e48
-	com/sun/star/lib/uno/helper/PropertySetMixin.html \
89a3e48
-	com/sun/star/lib/uno/helper/UnoUrl.html \
89a3e48
-	com/sun/star/lib/uno/helper/WeakAdapter.html \
89a3e48
-	com/sun/star/lib/uno/helper/WeakBase.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/ComponentBase.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/Factory.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/InterfaceContainer.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/MultiTypeInterfaceContainer.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/PropertySet.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/PropertySetMixin.BoundListeners.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/PropertySetMixin.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/UnoUrl.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/WeakAdapter.html \
89a3e48
-	com/sun/star/lib/uno/helper/class-use/WeakBase.html \
89a3e48
-	com/sun/star/lib/uno/helper/package-frame.html \
89a3e48
-	com/sun/star/lib/uno/helper/package-summary.html \
89a3e48
-	com/sun/star/lib/uno/helper/package-tree.html \
89a3e48
-	com/sun/star/lib/uno/helper/package-use.html \
89a3e48
-	com/sun/star/lib/unoloader/UnoClassLoader.html \
89a3e48
-	com/sun/star/lib/unoloader/UnoLoader.html \
89a3e48
-	com/sun/star/lib/unoloader/class-use/UnoClassLoader.html \
89a3e48
-	com/sun/star/lib/unoloader/class-use/UnoLoader.html \
89a3e48
-	com/sun/star/lib/unoloader/package-frame.html \
89a3e48
-	com/sun/star/lib/unoloader/package-summary.html \
89a3e48
-	com/sun/star/lib/unoloader/package-tree.html \
89a3e48
-	com/sun/star/lib/unoloader/package-use.html \
89a3e48
-	com/sun/star/lib/util/UrlToFileMapper.html \
89a3e48
-	com/sun/star/lib/util/class-use/UrlToFileMapper.html \
89a3e48
-	com/sun/star/lib/util/package-frame.html \
89a3e48
-	com/sun/star/lib/util/package-summary.html \
89a3e48
-	com/sun/star/lib/util/package-tree.html \
89a3e48
-	com/sun/star/lib/util/package-use.html \
89a3e48
-	com/sun/star/uno/Any.html \
89a3e48
-	com/sun/star/uno/AnyConverter.html \
89a3e48
-	com/sun/star/uno/Ascii.html \
89a3e48
-	com/sun/star/uno/AsciiString.html \
89a3e48
-	com/sun/star/uno/Enum.html \
89a3e48
-	com/sun/star/uno/IBridge.html \
89a3e48
-	com/sun/star/uno/IEnvironment.html \
89a3e48
-	com/sun/star/uno/IFieldDescription.html \
89a3e48
-	com/sun/star/uno/IMapping.html \
89a3e48
-	com/sun/star/uno/IMemberDescription.html \
89a3e48
-	com/sun/star/uno/IMethodDescription.html \
89a3e48
-	com/sun/star/uno/IQueryInterface.html \
89a3e48
-	com/sun/star/uno/ITypeDescription.html \
89a3e48
-	com/sun/star/uno/MappingException.html \
89a3e48
-	com/sun/star/uno/Type.html \
89a3e48
-	com/sun/star/uno/Union.html \
89a3e48
-	com/sun/star/uno/UnoRuntime.html \
89a3e48
-	com/sun/star/uno/WeakReference.html \
89a3e48
-	com/sun/star/uno/class-use/Any.html \
89a3e48
-	com/sun/star/uno/class-use/AnyConverter.html \
89a3e48
-	com/sun/star/uno/class-use/Ascii.html \
89a3e48
-	com/sun/star/uno/class-use/AsciiString.html \
89a3e48
-	com/sun/star/uno/class-use/Enum.html \
89a3e48
-	com/sun/star/uno/class-use/IBridge.html \
89a3e48
-	com/sun/star/uno/class-use/IEnvironment.html \
89a3e48
-	com/sun/star/uno/class-use/IFieldDescription.html \
89a3e48
-	com/sun/star/uno/class-use/IMapping.html \
89a3e48
-	com/sun/star/uno/class-use/IMemberDescription.html \
89a3e48
-	com/sun/star/uno/class-use/IMethodDescription.html \
89a3e48
-	com/sun/star/uno/class-use/IQueryInterface.html \
89a3e48
-	com/sun/star/uno/class-use/ITypeDescription.html \
89a3e48
-	com/sun/star/uno/class-use/MappingException.html \
89a3e48
-	com/sun/star/uno/class-use/Type.html \
89a3e48
-	com/sun/star/uno/class-use/Union.html \
89a3e48
-	com/sun/star/uno/class-use/UnoRuntime.html \
89a3e48
-	com/sun/star/uno/class-use/WeakReference.html \
89a3e48
-	com/sun/star/uno/package-frame.html \
89a3e48
-	com/sun/star/uno/package-summary.html \
89a3e48
-	com/sun/star/uno/package-tree.html \
89a3e48
-	com/sun/star/uno/package-use.html \
89a3e48
-	constant-values.html \
89a3e48
-	deprecated-list.html \
89a3e48
-	help-doc.html \
89a3e48
-	index-files/index-1.html \
89a3e48
-	index-files/index-10.html \
89a3e48
-	index-files/index-11.html \
89a3e48
-	index-files/index-12.html \
89a3e48
-	index-files/index-13.html \
89a3e48
-	index-files/index-14.html \
89a3e48
-	index-files/index-15.html \
89a3e48
-	index-files/index-16.html \
89a3e48
-	index-files/index-17.html \
89a3e48
-	index-files/index-18.html \
89a3e48
-	index-files/index-19.html \
89a3e48
-	index-files/index-2.html \
89a3e48
-	index-files/index-20.html \
89a3e48
-	index-files/index-21.html \
89a3e48
-	index-files/index-3.html \
89a3e48
-	index-files/index-4.html \
89a3e48
-	index-files/index-5.html \
89a3e48
-	index-files/index-6.html \
89a3e48
-	index-files/index-7.html \
89a3e48
-	index-files/index-8.html \
89a3e48
-	index-files/index-9.html \
89a3e48
-	index.html \
89a3e48
-	overview-frame.html \
89a3e48
-	overview-summary.html \
89a3e48
-	overview-tree.html \
89a3e48
-	package-list \
89a3e48
-	resources/background.gif \
89a3e48
-	resources/tab.gif \
89a3e48
-	resources/titlebar.gif \
89a3e48
-	resources/titlebar_end.gif \
89a3e48
-	serialized-form.html \
89a3e48
-	stylesheet.css \
89a3e48
-))
89a3e48
-
89a3e48
-# vim: set noet sw=4 ts=4:
89a3e48
-- 
89a3e48
1.9.0
89a3e48