[Libreoffice-commits] core.git: i18npool/Library_i18npool.mk

Jan Holesovsky kendy at collabora.com
Thu Jan 22 01:53:34 PST 2015


 i18npool/Library_i18npool.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49f26037faeff5f7f3c61e1ad6df974a2e32388d
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Jan 22 10:52:18 2015 +0100

    This can be called really early, create the dir.
    
    Change-Id: Ie0097c20429104f10eb188ae0cbfcf5bc5a44e14

diff --git a/i18npool/Library_i18npool.mk b/i18npool/Library_i18npool.mk
index b66a298..3c60ace 100644
--- a/i18npool/Library_i18npool.mk
+++ b/i18npool/Library_i18npool.mk
@@ -127,7 +127,7 @@ i18npool_locale_pattern=$(WITH_LOCALES) $(addsuffix _%,$(WITH_LOCALES))
 endif
 
 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx : $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl
-	$(PERL) $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl $(filter $(i18npool_locale_pattern),$(patsubst $(SRCDIR)/i18npool/source/localedata/data/%.xml,%,$(shell echo $(SRCDIR)/i18npool/source/localedata/data/*.xml))) >$@
+	mkdir -p $(call gb_CustomTarget_get_workdir,i18npool/localedata) && $(PERL) $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl $(filter $(i18npool_locale_pattern),$(patsubst $(SRCDIR)/i18npool/source/localedata/data/%.xml,%,$(shell echo $(SRCDIR)/i18npool/source/localedata/data/*.xml))) >$@
 
 $(call gb_CxxObject_get_target,i18npool/source/localedata/localedata) : \
 	INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/localedata)


More information about the Libreoffice-commits mailing list