diff options
author | Andras Timar <atimar@suse.com> | 2011-09-20 18:25:26 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-09-20 18:25:26 +0200 |
commit | 6a3a910e14a4908ce954f909558ab21c51d8b8bd (patch) | |
tree | 3aa3bf3cae76497ee18fefae58ff27eaa9d3894b | |
parent | d4a6ff5320cbb63b239912f471c9729aa83ae3fe (diff) |
use cygpath on Windows
-rw-r--r-- | translations/makefile.mk | 4 |
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 |