Makefile
changeset 942 c90e846909b0
parent 930 2989d9b90b14
child 947 d46d0a91ac48
--- a/Makefile	Sat Oct 14 16:33:44 2017 +0300
+++ b/Makefile	Sat Oct 14 16:48:34 2017 +0300
@@ -588,22 +588,22 @@
 # -B  suppress __pycache__ dir
 
 dist/dictd/gadict.c5: gadict.gadict $(FREQLIST_DEP) py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/
-	python3 -B py/gadict_c5.py $(FREQLIST_OPT)  $< $@
+	LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $(FREQLIST_OPT)  $< $@
 	echo "gadict En-Ru+Uk"> dist/dictd/gadict.c5.name
 
 dist/dictd/gadict_en-ru.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ -lang:ru
+	LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py  $< $@ -lang:ru
 	echo "gadict En-Ru"> dist/dictd/gadict_en-ru.c5.name
 
 dist/dictd/gadict_en-uk.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ -lang:uk
+	LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py  $< $@ -lang:uk
 	echo "gadict En-Uk"> dist/dictd/gadict_en-uk.c5.name
 
 dist/dictd/gadict_voa.c5: gadict_voa.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ -lang:en
+	LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py  $< $@ -lang:en
 
 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@
+	LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py  $< $@
 
 dist/dictd/:
 	mkdir -p $@