[Libreoffice-commits] .: i18npool/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Aug 19 05:47:29 PDT 2011


 i18npool/source/collator/Makefile   |    4 ++++
 i18npool/source/indexentry/Makefile |    4 ++++
 2 files changed, 8 insertions(+)

New commits:
commit 70d60b184c19abc3db43f10953552d23ff7c59d8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 19 13:47:21 2011 +0100

    inch closer to windows building

diff --git a/i18npool/source/collator/Makefile b/i18npool/source/collator/Makefile
index 4d1ed24..2c2c891 100644
--- a/i18npool/source/collator/Makefile
+++ b/i18npool/source/collator/Makefile
@@ -36,7 +36,11 @@ collator_%.cxx : collator_%_invis.cxx
 	sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@
 
 collator_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/collator/data)/%.txt
+ifeq ($(OS_FOR_BUILD),WNT)
+	$(gb_Helper_execute)gencoll_rule `cygpath -m $<` $@ $*
+else
 	$(gb_Helper_execute)gencoll_rule $< $@ $*
+endif
 
 lrl_include.hxx : $(txtlist)
 	echo '#define LOCAL_RULE_LANGS "$(sort $(foreach txt,$(^F),$(firstword $(subst _, ,$(txt)))))"' > $@
diff --git a/i18npool/source/indexentry/Makefile b/i18npool/source/indexentry/Makefile
index a95e367..c5335dc 100644
--- a/i18npool/source/indexentry/Makefile
+++ b/i18npool/source/indexentry/Makefile
@@ -34,7 +34,11 @@ include $(GBUILDDIR)/gbuild_simple.mk
 	sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@
 
 %_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/indexentry/data)/%.txt
+ifeq ($(OS_FOR_BUILD),WNT)
+	$(gb_Helper_execute)genindex_data `cygpath -m $<` $@ $*
+else
 	$(gb_Helper_execute)genindex_data $< $@ $*
+endif
 
 .PHONY: all
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list