summaryrefslogtreecommitdiff
path: root/Package_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 /Package_html.mk
parentfb2f695bb4ad8ed6a9eeef0e155526df169796f3 (diff)
move generation of HTML help to gbuild
Change-Id: Ic38ee7b9a3ee4a45bede9d494f717d833e53d69f
Diffstat (limited to 'Package_html.mk')
-rw-r--r--Package_html.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/Package_html.mk b/Package_html.mk
new file mode 100644
index 0000000000..aed4b7674e
--- /dev/null
+++ b/Package_html.mk
@@ -0,0 +1,25 @@
+# -*- 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,helpcontent2_html,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
+
+$(eval $(call gb_Package_use_customtarget,helpcontent2_html,helpcontent2/help3xsl))
+
+$(eval $(call gb_Package_add_files,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION),\
+ hid2file.js \
+))
+
+$(eval $(call gb_Package_add_files_with_dir,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION),\
+ $(foreach lang,$(gb_HELP_LANGS),\
+ $(lang)/bookmarks.js \
+ $(lang)/contents.js \
+ ) \
+))
+
+# vim: set noet sw=4 ts=4: