summaryrefslogtreecommitdiff
path: root/Repository.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-05-24 10:46:43 +0200
committerJan Holesovsky <kendy@collabora.com>2018-08-08 14:47:30 +0200
commitccb0a82e30ea175fe6e53b56b879b5b7142f241f (patch)
treec42fa8fde0573460274c636615dd74aa6a4c24d7 /Repository.mk
parent482c45c8526ae0dc52821b5d852d7a3dc55d7929 (diff)
Properly handle language-specific parts of --with-help=html media/ sub-tree
...that previously ended up in language-independent parts of installation sets. The structure of that media/ tree doesn't allow to directly mis-use the existing AllLangPackage machinery (which expects the language to be encoded in the first pathname segment within the tree; and which is already mis-used for the helpcontent2/AllLangPackage_html_lang.mk parts). So introduce gb_AllLangPackage_add_files_for_lang that allows to specify the language explicitly, independent of where it is encoded in the pathname (if at all). The underlying gb_AllLangPackage_add_file sets a gb_AllLangPackage_ALLDIRS that is used by `make packageinfo`, which may need further fixing by anybody actually using that target; see the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2018-May/080242.html> "Broken --with-help=html `make packageinfo`". All files in $(SRCDIR)/helpcontent2/source/media/ must now explicitly be listed in either helpcontent2/Package_html_media.mk (for the language-independent files) or helpcontent2/AllLangPackage_html_media_lang.mk (for the language- specific files). Also note the two TODOs in helpcontent2/AllLangPackage_html_media_lang.mk. What is not quite right yet is that content from helpcontent2/AllLangPackage_html_lang.mk and helpcontent2/AllLangPackage_html_media_lang.mk is ending up in both per-language helpcontent installation sets (as intended, via the instructions in helpcontent2/CustomTarget_html.mk) and per-language languagepack installation sets (which is unintended). This needs to be fixed with a follow-up commit. This is the core part of a commit spanning core and helpcontent2. Change-Id: Ib29e52cf8a3ca7bcd234a8f6919c8eac6157cdbf
Diffstat (limited to 'Repository.mk')
-rw-r--r--Repository.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Repository.mk b/Repository.mk
index 3345b6a41c63..08b999ed5ac1 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -947,6 +947,7 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
helpcontent2_html_lang \
helpcontent2_html_lang_generated \
helpcontent2_html_media \
+ helpcontent2_html_icon-themes \
helpcontent2_html_static \
) \
))