diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-05-02 10:40:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-02 10:42:28 +0200 |
commit | 09f72e64083e9a6003e6c10fa26e1c5ca3c4d785 (patch) | |
tree | 271d659d556206c38c6f4b2e9a1c30bb3b0ff79b /AllLangPackage_html_lang.mk | |
parent | cb3e183c7fa7bd926e6564e52b5a79b0a0d15262 (diff) |
tdf#116240: Include --with-help=html in installation sets
...by extending the hackery in helpcontent2/CustomTarget_html.mk (see comment
there). (Ultimately, the gbuild HelpTarget machinery should probably be adapted
to the needs of this new help format, once the old help format is no longer
supported?)
The Perl packaging code finds source files through the "include" paths specified
in instsetoo_native/util/openoffice.lst.in. To avoid potential name clashes,
put the new .filelist files into
workdir/CustomTarget/helpcontent2/help3xsl/filelists/html-help/ sub-directories.
read_filelist in solenv/bin/modules/installer/filelists.pm does not strip white
space following the last item in a file list, but (with HAVE_GNUMAKE_FILE_FUNC)
the gb_HelpTarget_get_translation_target .filelist files (which are then
transformed with sed into the .html .filelist files read by the Perl packaging
code) may contain such trailing white space. So $(strip ...) their content in
solenv/gbuild/HelpTarget.mk.
This is the helpcontent2 part of a change spanning core and helpcontent2.
Change-Id: I730caaaec783d0a0a9c79caf85268a775220dee3
Reviewed-on: https://gerrit.libreoffice.org/53724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'AllLangPackage_html_lang.mk')
-rw-r--r-- | AllLangPackage_html_lang.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/AllLangPackage_html_lang.mk b/AllLangPackage_html_lang.mk new file mode 100644 index 0000000000..9be268d86f --- /dev/null +++ b/AllLangPackage_html_lang.mk @@ -0,0 +1,21 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# # +# This file is part of the LibreOffice project. +# # +# # This Source Code Form is subject to the terms of the Mozilla Public +# # License, v. 2.0. If a copy of the MPL was not distributed with this +# # file, You can obtain one at http://mozilla.org/MPL/2.0/. +# # +# +$(eval $(call gb_AllLangPackage_AllLangPackage,helpcontent2_html_lang,$(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl))) + +$(eval $(call gb_AllLangPackage_use_customtarget,helpcontent2_html_lang,helpcontent2/help3xsl)) + +$(eval $(call gb_AllLangPackage_add_files,helpcontent2_html_lang,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION)),\ + $(foreach lang,$(gb_HELP_LANGS),\ + $(lang)/bookmarks.js \ + $(lang)/contents.js \ + ) \ +)) + +# vim: set noet sw=4 ts=4: |