summaryrefslogtreecommitdiff
path: root/CustomTarget_html.mk
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-03-12 08:34:35 -0300
committerJan Holesovsky <kendy@collabora.com>2018-08-07 17:52:30 +0200
commit25a23f8845b5176f78b18983881e630be2d4445c (patch)
treed821e9284ab435c6157520f7de4e7dfd5896e86f /CustomTarget_html.mk
parentbd82611429dc8ca18b771187ecc7283b2da495f5 (diff)
tdf#116296 remove produt version from help path
Part two. Part 1 is in sfx2 module Remove product version from offline help path but keep in online help. Product version is kept for online because a help server can have more than one helponline version. Change-Id: I1d4ba12a7d6472defd4210c79349e35ccaf32d8d Reviewed-on: https://gerrit.libreoffice.org/51126 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'CustomTarget_html.mk')
-rw-r--r--CustomTarget_html.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk
index ae56ebd07a..8b6325a3e6 100644
--- a/CustomTarget_html.mk
+++ b/CustomTarget_html.mk
@@ -75,6 +75,7 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/contents.part : \
$(call gb_Helper_abbreviate_dirs,\
$(call gb_ExternalExecutable_get_command,xsltproc) \
--stringparam lang $(LANG) \
+ --stringparam local $(if $(HELP_ONLINE),'no','yes') \
--stringparam productversion $(PRODUCTVERSION) \
-o $@ \
$(SRCDIR)/helpcontent2/help3xsl/get_tree.xsl \
@@ -159,6 +160,7 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/bookmarks.part : \
$(call gb_ExternalExecutable_get_command,xsltproc) \
--stringparam app $(APP) \
--stringparam Language $(HELP_LANG) \
+ --stringparam local $(if $(HELP_ONLINE),'no','yes') \
--stringparam productversion $(PRODUCTVERSION) \
$(SRCDIR)/helpcontent2/help3xsl/get_bookmark.xsl \
$$xhp \