summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-21 14:09:48 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-21 14:09:48 +0100
commitcc687bcd95ca9689605372a485b94be8f5af8832 (patch)
tree3cddfc27eb6253c5202bb1e2dd24f2a200c5b5ab /makefile
parente7fc6f762afa3cea0d5849e6df17a89d1b6db82d (diff)
Added python replacement for msgfmt (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefile b/makefile
index 8fecae18c50..16450e64241 100644
--- a/makefile
+++ b/makefile
@@ -1263,6 +1263,7 @@ genie: $(GENIE)
generate: \
genie \
$(GEN_FOLDERS) \
+ $(patsubst %.po,%.mo,$(call rwildcard, language/, *.po)) \
$(patsubst $(SRC)/%.lay,$(GENDIR)/%.lh,$(LAYOUTS)) \
$(SRC)/devices/cpu/m68000/m68kops.cpp
@@ -1278,10 +1279,8 @@ else
endif
%.mo: %.po
-ifneq ($(TARGETOS),macosx)
@echo Converting translation $<...
- $(SILENT) msgfmt --check --output-file $@ $<
-endif
+ $(SILENT)$(PYTHON) scripts/build/msgfmt.py --output-file $@ $<
#-------------------------------------------------
# Regression tests