i18npool/CustomTarget_localedata.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4686b3f623393aa8ce4d44f1d0f97e582a21c545
Author:     Jan-Marek Glogowski <glo...@fbihome.de>
AuthorDate: Mon Jan 3 15:24:57 2022 +0100
Commit:     Jan-Marek Glogowski <glo...@fbihome.de>
CommitDate: Mon Jan 3 17:37:30 2022 +0100

    localedata: keep the intermediate %_new.cxx file
    
    Mike tested it, and I tested it on Windows too. But at least for
    my Linux static build, these files are auto-removed. So tell GNU
    make we really want to keep them.
    
    Change-Id: I00eb191c4d0086de87f895a6e6fe26d1e405cab9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127895
    Tested-by: Jenkins
    Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de>

diff --git a/i18npool/CustomTarget_localedata.mk 
b/i18npool/CustomTarget_localedata.mk
index 6a63785fe839..3ce723ba2499 100644
--- a/i18npool/CustomTarget_localedata.mk
+++ b/i18npool/CustomTarget_localedata.mk
@@ -29,6 +29,7 @@ $(call 
gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx : \
        rm $@.sax
        $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),SAX)
 
+.PRECIOUS: $(call 
gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx
 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%.cxx : \
                $(call 
gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_%_new.cxx
        $(call gb_Helper_copy_if_different_and_touch,$<,$@)

Reply via email to