CustomTarget_html.mk      |    6 +++---
 CustomTarget_imagelist.mk |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 15deec972f2ea1e2076a74c4d206b49967c68844
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Nov 4 12:57:40 2021 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Nov 4 13:00:12 2021 +0100

    Adapt helpcontent2 to var2file rename
    
    ...in core commit 3829c0c7db8768ca05f148e8f5c271ddb56d5bae "Resolves: 
tdf#97046
    ensure build system variables start with gb_"
    
    Change-Id: I2d9f579921843dbfb55efde492ea19abb3c6782e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124682
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk
index f66dd95ca..56224a7d9 100644
--- a/CustomTarget_html.mk
+++ b/CustomTarget_html.mk
@@ -42,7 +42,7 @@ $(call 
gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/hid2file.js : \
        $(call gb_Helper_abbreviate_dirs,\
                ( \
                        echo 'var hid2fileMap = {' \
-                       && RESPONSEFILE=$(call var2file,$(shell 
$(gb_MKTEMP)),100,$(foreach module,$(html_TEXT_MODULES),$(addprefix 
$(SRCDIR)/,$(gb_AllLangHelp_$(module)_HELPFILES)))) \
+                       && RESPONSEFILE=$(call gb_var2file,$(shell 
$(gb_MKTEMP)),100,$(foreach module,$(html_TEXT_MODULES),$(addprefix 
$(SRCDIR)/,$(gb_AllLangHelp_$(module)_HELPFILES)))) \
                        && <"$$RESPONSEFILE" $(if $(filter WNT,$(OS)),tr -d 
'\r' | env -i PATH="$$PATH") xargs -n 1 printf '%s\n' \
                        | while read xhp; do \
                                rm -f $@.good && \
@@ -216,7 +216,7 @@ $(call 
gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/html.text : \
        $(call gb_Helper_abbreviate_dirs,\
                cd $(if $(filter en-US,$*),$(SRCDIR),$(call 
gb_HelpTranslatePartTarget_get_workdir,$*))/helpcontent2/source \
                && rm -rf $(dir $@)text \
-               && RESPONSEFILE=$(call var2file,$(shell 
$(gb_MKTEMP)),100,$(foreach module,$(html_TEXT_MODULES),$(patsubst 
helpcontent2/source/%,%,$(gb_AllLangHelp_$(module)_HELPFILES)))) \
+               && RESPONSEFILE=$(call gb_var2file,$(shell 
$(gb_MKTEMP)),100,$(foreach module,$(html_TEXT_MODULES),$(patsubst 
helpcontent2/source/%,%,$(gb_AllLangHelp_$(module)_HELPFILES)))) \
                && <"$$RESPONSEFILE" $(if $(filter WNT,$(OS)),tr -d '\r' | env 
-i PATH="$$PATH") xargs -n 1 printf '%s\n' \
                | while read xhp; do \
                        mkdir -p $$(dirname $(dir $@)$$xhp) && \
@@ -285,7 +285,7 @@ $(call 
gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/bookmarks.part : \
                $(call gb_ExternalExecutable_get_dependencies,xsltproc)
        $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1)
        $(call gb_Helper_abbreviate_dirs,\
-               RESPONSEFILE=$(call var2file,$(shell 
$(gb_MKTEMP)),100,$(addprefix $(if $(filter 
en-US,$(HELP_LANG)),$(SRCDIR),$(call 
gb_HelpTranslatePartTarget_get_workdir,$(HELP_LANG)))/,$(gb_AllLangHelp_$(APPDIR)_BOOKMARK_HELPFILES)))
 \
+               RESPONSEFILE=$(call gb_var2file,$(shell 
$(gb_MKTEMP)),100,$(addprefix $(if $(filter 
en-US,$(HELP_LANG)),$(SRCDIR),$(call 
gb_HelpTranslatePartTarget_get_workdir,$(HELP_LANG)))/,$(gb_AllLangHelp_$(APPDIR)_BOOKMARK_HELPFILES)))
 \
                && ( \
                        <"$$RESPONSEFILE" $(if $(filter WNT,$(OS)),tr -d '\r' | 
env -i PATH="$$PATH") xargs -n 1 printf '%s\n' \
                        | { rm -f $@.good && while read xhp; do \
diff --git a/CustomTarget_imagelist.mk b/CustomTarget_imagelist.mk
index 06225f121..86350a530 100644
--- a/CustomTarget_imagelist.mk
+++ b/CustomTarget_imagelist.mk
@@ -21,7 +21,7 @@ $(call 
gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/images_helpimg
                | $(call gb_ExternalExecutable_get_dependencies,python)
        $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
        $(call gb_Helper_abbreviate_dirs, \
-               ILSTFILE=$(call var2file,$(shell $(gb_MKTEMP)),100,$(filter 
%.ilst,$^)) && \
+               ILSTFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),100,$(filter 
%.ilst,$^)) && \
                $(call gb_ExternalExecutable_get_command,python) 
$(SRCDIR)/solenv/bin/pack_images.py \
                        -g $(helpmedia_DIR) -m $(helpmedia_DIR) -c 
$(helpmedia_DIR) \
                        -l $${ILSTFILE} \

Reply via email to