summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-02 08:21:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-02 08:21:13 +0100
commite74b578c67448817852e0adabe0114de746e4103 (patch)
tree70d5787a0950caaa0d6797367c86de07f7756009 /makefile
parent8682052f7175da287e522d57451e4263f1914b86 (diff)
added IGNORE_BAD_LOCALISATION flag (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index abdba0458e4..dc19443e627 100644
--- a/makefile
+++ b/makefile
@@ -97,6 +97,7 @@
# MSBUILD = 1
# USE_LIBUV = 1
+# IGNORE_BAD_LOCALISATION=1
ifdef PREFIX_MAKEFILE
include $(PREFIX_MAKEFILE)
@@ -1365,8 +1366,11 @@ endif
%.mo: %.po
@echo Converting translation $<...
+ifdef IGNORE_BAD_LOCALISATION
$(SILENT)$(PYTHON) scripts/build/msgfmt.py --output-file $@ $< || exit 0
-
+else
+ $(SILENT)$(PYTHON) scripts/build/msgfmt.py --output-file $@ $<
+endif
#-------------------------------------------------
# Regression tests
#-------------------------------------------------