solenv/gbuild/AllLangHelp.mk |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit ddf2a557e882646a5435c6d4e74808a252b841fc
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Mon Oct 27 15:13:37 2025 +0100
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Mon Oct 27 16:16:23 2025 +0100

    fix build after 6cb16d12c6314171e6efc5bf75255ced51d49801
    
    due to how % cannot be empty and ignores / if % itself is not containing
    it there's a need for the plain rule still until all those individual
    .dir rules get replaced by a global one.
    
    without that build could fail with e.g.:
    touch: <builddir>/workdir/AllLangHelp/swriter.helpfiles: No such file or 
directory
    
    Change-Id: I9b95f59d1591ac8f2ec51d9a932e1eafc9c411b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193041
    Reviewed-by: Christian Lohmaier <[email protected]>
    Tested-by: Jenkins

diff --git a/solenv/gbuild/AllLangHelp.mk b/solenv/gbuild/AllLangHelp.mk
index 1d01cb081728..50896ae383ae 100644
--- a/solenv/gbuild/AllLangHelp.mk
+++ b/solenv/gbuild/AllLangHelp.mk
@@ -24,7 +24,10 @@ $(call gb_AllLangHelp_get_helpfiles_target,%): | \
        touch $@
 endif
 
-$(gb_AllLangHelp_targetdir)%.dir :
+$(gb_AllLangHelp_targetdir)/%/.dir :
+       mkdir -p $(@D) && touch $@
+
+$(gb_AllLangHelp_targetdir)/.dir :
        mkdir -p $(@D) && touch $@
 
 $(gb_AllLangHelp_targetdir)/% :

Reply via email to