summaryrefslogtreecommitdiff
path: root/GeneratedPackage_html_lang_generated.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-23 11:45:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-23 11:50:25 +0200
commitc0508a0752d460bca8e7f5917edc074d9bc66f93 (patch)
tree2a66450d9386301d1eaf4639189fcc448fc473b5 /GeneratedPackage_html_lang_generated.mk
parente4bbb5a2039264ace0ddb9df26fe91d58b576a79 (diff)
WIP: Split --with-help=html packages into non-locale and per-locale
...in preparation of packaging the per-locale data properly. non-locale: GeneratedPackage_html_media Package_html_dynamic Package_html_static per-locale: GeneratedPackage_html_lang_generated Package_html_lang This is the helpcontent2 part of a change that spans core and helpcontent2. Change-Id: Iabe24a710d46d23246699d102ab96686cfe85ab4 Reviewed-on: https://gerrit.libreoffice.org/53317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'GeneratedPackage_html_lang_generated.mk')
-rw-r--r--GeneratedPackage_html_lang_generated.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/GeneratedPackage_html_lang_generated.mk b/GeneratedPackage_html_lang_generated.mk
new file mode 100644
index 0000000000..63b5cef82b
--- /dev/null
+++ b/GeneratedPackage_html_lang_generated.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_lang_generated,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
+
+$(eval $(call gb_GeneratedPackage_use_customtarget,helpcontent2_html_lang_generated,helpcontent2/help3xsl))
+
+$(eval $(foreach lang,$(gb_HELP_LANGS),\
+$(call gb_GeneratedPackage_add_dir,helpcontent2_html_lang_generated,$(INSTROOT)/$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/$(lang)/text,$(lang)/text) \
+))
+
+# vim: set noet sw=4 ts=4: