summaryrefslogtreecommitdiffstats
path: root/helpcontent2/AllLangPackage_html_lang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/AllLangPackage_html_lang.mk')
-rw-r--r--helpcontent2/AllLangPackage_html_lang.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/helpcontent2/AllLangPackage_html_lang.mk b/helpcontent2/AllLangPackage_html_lang.mk
new file mode 100644
index 000000000..c3b25a09c
--- /dev/null
+++ b/helpcontent2/AllLangPackage_html_lang.mk
@@ -0,0 +1,32 @@
+# -*- 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_AllLangPackage_AllLangPackage,helpcontent2_html_lang,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
+
+$(eval $(call gb_AllLangPackage_use_customtarget,helpcontent2_html_lang,helpcontent2/help3xsl))
+
+$(eval $(call gb_AllLangPackage_add_files,helpcontent2_html_lang,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION)),\
+ $(foreach lang,$(gb_HELP_LANGS),\
+ $(lang)/bookmarks.js \
+ $(lang)/contents.js \
+ $(lang)/langnames.js \
+ ) \
+))
+
+ifeq ($(HELP_OMINDEX_PAGE),TRUE)
+
+$(eval $(call gb_AllLangPackage_add_files,helpcontent2_html_lang,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION)),\
+ $(foreach lang,$(gb_HELP_LANGS),\
+ $(lang)/xap_tpl \
+ ) \
+))
+
+endif
+
+# vim: set noet sw=4 ts=4: