From 6a3a910e14a4908ce954f909558ab21c51d8b8bd Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 20 Sep 2011 18:25:26 +0200 Subject: [PATCH] use cygpath on Windows --- translations/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/translations/makefile.mk b/translations/makefile.mk index 3ffde894877..906202e9367 100644 --- a/translations/makefile.mk +++ b/translations/makefile.mk @@ -87,7 +87,11 @@ PYTHONHOME:=$(SOLARVER)/$(INPATH) $(MISC)/sdf-template/en-US.sdf : -$(MKDIRHIER) $(MISC)/sdf-template -$(MKDIRHIER) $(MISC)/sdf-l10n +.IF "$(OS)" == "WNT" + $(SOLARSRC)/solenv/bin/localize -e -l en-US -f $(shell cygpath -m $(SRC_ROOT)/$(PRJNAME)/$@) +.ELSE $(SOLARSRC)/solenv/bin/localize -e -l en-US -f $(SRC_ROOT)/$(PRJNAME)/$@ +.ENDIF # "$(OS)" == "WNT" pot : $(MISC)/sdf-template/en-US.sdf $(OO2PO) -P -i $< -o $(MISC)/pot