Makefile
changeset 644 e38cd6112193
parent 643 c2c32f45dde6
child 646 2d488cfc4c0c
--- a/Makefile	Tue Nov 08 17:44:04 2016 +0200
+++ b/Makefile	Tue Nov 08 18:08:02 2016 +0200
@@ -483,15 +483,15 @@
 # -B  suppress __pycache__ dir
 
 dist/dictd/gadict_en-ru.c5: gadict_en-ru+uk.gadict py/gadict.py py/gadict_c5.py | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ ru
+	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_en-ru+uk.gadict py/gadict.py py/gadict_c5.py | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ uk
+	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 | dist/dictd/
-	python3 -B py/gadict_c5.py  $< $@ en
+	python3 -B py/gadict_c5.py  $< $@ -lang:en
 
 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py | dist/dictd/
 	python3 -B py/gadict_c5.py  $< $@
@@ -512,7 +512,7 @@
 	PYTHONPATH=/usr/share/anki: python -B py/gadict_srs_anki.py $< $@
 
 dist/srs/gadict_en-ru+uk.tab.txt: gadict_en-ru+uk.gadict py/gadict.py py/gadict_srs_tab.py $(MAKEFILE_LIST) | dist/srs/
-	python3 -B py/gadict_srs_tab.py  $< $@ ru,uk
+	python3 -B py/gadict_srs_tab.py  $< $@ -lang:ru,uk
 
 dist/srs/%.tab.txt: %.gadict py/gadict.py py/gadict_srs_tab.py $(MAKEFILE_LIST) | dist/srs/
 	python3 -B py/gadict_srs_tab.py  $< $@