summaryrefslogtreecommitdiff
path: root/odk/GeneratedPackage_odk_javadoc.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 15:44:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-25 15:51:21 +0100
commita59e5ecd611ddd41cec6d9c78773f55887df67e6 (patch)
tree2750f67b06b3325d7db2705806b95aaf5bd3e77d /odk/GeneratedPackage_odk_javadoc.mk
parentf0d873b7063bfb6bb45ad364bb4bd39b5c6c0c12 (diff)
Change SDK javaodc from static Package to dynamic GeneratedPackage
...as e.g. the list of resrouces/*.gif apparently varies per javadoc version. Change-Id: Idcf95229295c1c5cd16e565bcd168c1a0e7d4f0c
Diffstat (limited to 'odk/GeneratedPackage_odk_javadoc.mk')
-rw-r--r--odk/GeneratedPackage_odk_javadoc.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/odk/GeneratedPackage_odk_javadoc.mk b/odk/GeneratedPackage_odk_javadoc.mk
new file mode 100644
index 000000000000..569377b426f5
--- /dev/null
+++ b/odk/GeneratedPackage_odk_javadoc.mk
@@ -0,0 +1,16 @@
+# -*- 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_GeneratedPackage_GeneratedPackage,odk_javadoc,$(call gb_CustomTarget_get_workdir,odk/docs/java/ref)))
+
+$(eval $(call gb_GeneratedPackage_add_dir,odk_javadoc,$(INSTDIR)/$(SDKDIRNAME)/docs/java/ref,.))
+
+$(eval $(call gb_GeneratedPackage_use_customtarget,odk_javadoc,odk/docs/java/ref))
+
+# vim: set noet sw=4 ts=4: