summaryrefslogtreecommitdiff
path: root/Package_html_static.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 /Package_html_static.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 'Package_html_static.mk')
-rw-r--r--Package_html_static.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Package_html_static.mk b/Package_html_static.mk
index 40a65b6a77..3619877837 100644
--- a/Package_html_static.mk
+++ b/Package_html_static.mk
@@ -14,9 +14,9 @@ $(eval $(call gb_Package_add_files,helpcontent2_html_static,$(LIBO_SHARE_HELP_FO
help.html \
))
-$(eval $(call gb_Package_add_file,helpcontent2_html_static,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION)/index.html,index2.html))
+$(eval $(call gb_Package_add_file,helpcontent2_html_static,$(LIBO_SHARE_HELP_FOLDER)/$(if $(HELP_ONLINE),$(PRODUCTVERSION),'')/index.html,index2.html))
-$(eval $(call gb_Package_add_files,helpcontent2_html_static,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION),\
+$(eval $(call gb_Package_add_files,helpcontent2_html_static,$(LIBO_SHARE_HELP_FOLDER)/$(if $(HELP_ONLINE),$(PRODUCTVERSION),''),\
help.js \
fuse.js \
paginathing.js \