[Libreoffice-commits] help.git: GeneratedPackage_html_generated.mk GeneratedPackage_html.mk Module_helpcontent2.mk
Stephan Bergmann
sbergman at redhat.com
Fri Apr 20 13:14:28 UTC 2018
GeneratedPackage_html_generated.mk | 6 +++---
Module_helpcontent2.mk | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 64bb1203851bc92fd5ee2acaf0d4c4babf7a6180
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 20 15:04:12 2018 +0200
Avoid name clash between Package and GeneratedPackage htmlcontent2_html
...by renaming the latter to htmlcontent2_html_generated. The name clash
happened to not cause trouble yet, but would once these packages are added to
installation sets (i.e., once both would want to occur in
gb_Helper_register_packages_for_install lists in Repository.mk).
(Also do some minor syntactic clean up.)
Change-Id: I009c154d3bb06312a9f4224b2d5feb1d9f6689fc
Reviewed-on: https://gerrit.libreoffice.org/53208
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/GeneratedPackage_html.mk b/GeneratedPackage_html_generated.mk
similarity index 65%
rename from GeneratedPackage_html.mk
rename to GeneratedPackage_html_generated.mk
index 36b4e6edf..04e59c285 100644
--- a/GeneratedPackage_html.mk
+++ b/GeneratedPackage_html_generated.mk
@@ -7,12 +7,12 @@
# # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
#
-$(eval $(call gb_GeneratedPackage_GeneratedPackage,helpcontent2_html,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
+$(eval $(call gb_GeneratedPackage_GeneratedPackage,helpcontent2_html_generated,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)))
-$(eval $(call gb_GeneratedPackage_use_customtarget,helpcontent2_html,helpcontent2/help3xsl))
+$(eval $(call gb_GeneratedPackage_use_customtarget,helpcontent2_html_generated,helpcontent2/help3xsl))
$(eval $(foreach lang,$(gb_HELP_LANGS),\
-$(call gb_GeneratedPackage_add_dir,helpcontent2_html,$(INSTROOT)/$(LIBO_SHARE_HELP_FOLDER)/$(if $(HELP_ONLINE),$(PRODUCTVERSION),)/$(lang)/text,$(lang)/text) \
+$(call gb_GeneratedPackage_add_dir,helpcontent2_html_generated,$(INSTROOT)/$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/$(lang)/text,$(lang)/text) \
))
# vim: set noet sw=4 ts=4:
diff --git a/Module_helpcontent2.mk b/Module_helpcontent2.mk
index 8ff89344f..3e69742f9 100644
--- a/Module_helpcontent2.mk
+++ b/Module_helpcontent2.mk
@@ -18,7 +18,7 @@ ifeq ($(ENABLE_HTMLHELP),TRUE)
$(eval $(call gb_Module_add_targets,helpcontent2,\
CustomTarget_html \
GeneratedPackage_html_media \
- GeneratedPackage_html \
+ GeneratedPackage_html_generated \
Package_html_static \
Package_html \
))
More information about the Libreoffice-commits
mailing list