summaryrefslogtreecommitdiffstats
path: root/CustomTarget_html.mk
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-03-12 08:34:35 -0300
committerStephan Bergmann <sbergman@redhat.com>2018-03-14 09:51:48 +0100
commit770c0c1746b5c0b94dc07d5f1d6c2c04802c8540 (patch)
tree3634144a257a554182a331a72d66c47ee3a2344b /CustomTarget_html.mk
parentAdd missing ahelps / fix bookmarks to Insert Field pages (diff)
downloadhelp-770c0c1746b5c0b94dc07d5f1d6c2c04802c8540.tar.gz
help-770c0c1746b5c0b94dc07d5f1d6c2c04802c8540.zip
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 \