586 : |
586 : |
587 |
587 |
588 # -B suppress __pycache__ dir |
588 # -B suppress __pycache__ dir |
589 |
589 |
590 dist/dictd/gadict.c5: gadict.gadict $(FREQLIST_DEP) py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
590 dist/dictd/gadict.c5: gadict.gadict $(FREQLIST_DEP) py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
591 python3 -B py/gadict_c5.py $(FREQLIST_OPT) $< $@ |
591 LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $(FREQLIST_OPT) $< $@ |
592 echo "gadict En-Ru+Uk"> dist/dictd/gadict.c5.name |
592 echo "gadict En-Ru+Uk"> dist/dictd/gadict.c5.name |
593 |
593 |
594 dist/dictd/gadict_en-ru.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
594 dist/dictd/gadict_en-ru.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
595 python3 -B py/gadict_c5.py $< $@ -lang:ru |
595 LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $< $@ -lang:ru |
596 echo "gadict En-Ru"> dist/dictd/gadict_en-ru.c5.name |
596 echo "gadict En-Ru"> dist/dictd/gadict_en-ru.c5.name |
597 |
597 |
598 dist/dictd/gadict_en-uk.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
598 dist/dictd/gadict_en-uk.c5: gadict.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
599 python3 -B py/gadict_c5.py $< $@ -lang:uk |
599 LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $< $@ -lang:uk |
600 echo "gadict En-Uk"> dist/dictd/gadict_en-uk.c5.name |
600 echo "gadict En-Uk"> dist/dictd/gadict_en-uk.c5.name |
601 |
601 |
602 dist/dictd/gadict_voa.c5: gadict_voa.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
602 dist/dictd/gadict_voa.c5: gadict_voa.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
603 python3 -B py/gadict_c5.py $< $@ -lang:en |
603 LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $< $@ -lang:en |
604 |
604 |
605 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
605 dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py $(MAKEFILE_LIST) | dist/dictd/ |
606 python3 -B py/gadict_c5.py $< $@ |
606 LC_ALL=en_US.utf8 python3 -B py/gadict_c5.py $< $@ |
607 |
607 |
608 dist/dictd/: |
608 dist/dictd/: |
609 mkdir -p $@ |
609 mkdir -p $@ |
610 |
610 |
611 .PHONY: srs |
611 .PHONY: srs |