aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translations/makefile.mk4
1 files changed, 4 insertions, 0 deletions
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