summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
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