summaryrefslogtreecommitdiff
path: root/GeneratedPackage_html.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-11-23 19:39:38 +0100
committerDavid Tardon <dtardon@redhat.com>2017-12-07 13:39:48 +0100
commitba16363fee2832acf3a33c718fa60cfb5aa67fc8 (patch)
tree94b2461d35414ca844042ad4dcd4a3b1d2681bbf /GeneratedPackage_html.mk
parentfb2f695bb4ad8ed6a9eeef0e155526df169796f3 (diff)
move generation of HTML help to gbuild
Change-Id: Ic38ee7b9a3ee4a45bede9d494f717d833e53d69f
Diffstat (limited to 'GeneratedPackage_html.mk')
-rw-r--r--GeneratedPackage_html.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/GeneratedPackage_html.mk b/GeneratedPackage_html.mk
new file mode 100644
index 0000000000..9f7786e4c1
--- /dev/null
+++ b/GeneratedPackage_html.mk
@@ -0,0 +1,18 @@
+# -*- 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,helpcontent2_html,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
+
+$(eval $(call gb_GeneratedPackage_use_customtarget,helpcontent2_html,helpcontent2/help3xsl))
+
+$(eval $(foreach lang,$(gb_HELP_LANGS),\
+ $(call gb_GeneratedPackage_add_dir,helpcontent2_html,$(INSTROOT)/$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION)/$(lang)/text,$(lang)/text) \
+))
+
+# vim: set noet sw=4 ts=4: