summaryrefslogtreecommitdiff
path: root/Package_html.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Package_html.mk')
-rw-r--r--Package_html.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Package_html.mk b/Package_html.mk
index aed4b7674e..680b6829c6 100644
--- a/Package_html.mk
+++ b/Package_html.mk
@@ -11,11 +11,11 @@ $(eval $(call gb_Package_Package,helpcontent2_html,$(call gb_CustomTarget_get_wo
$(eval $(call gb_Package_use_customtarget,helpcontent2_html,helpcontent2/help3xsl))
-$(eval $(call gb_Package_add_files,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION),\
+$(eval $(call gb_Package_add_files,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(if $(HELP_ONLINE),$(PRODUCTVERSION),),\
hid2file.js \
))
-$(eval $(call gb_Package_add_files_with_dir,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(PRODUCTVERSION),\
+$(eval $(call gb_Package_add_files_with_dir,helpcontent2_html,$(LIBO_SHARE_HELP_FOLDER)/$(if $(HELP_ONLINE),$(PRODUCTVERSION),),\
$(foreach lang,$(gb_HELP_LANGS),\
$(lang)/bookmarks.js \
$(lang)/contents.js \