Add dependency on py files.
--- a/Makefile Sun Mar 27 22:55:59 2016 +0300
+++ b/Makefile Sun Mar 27 23:32:42 2016 +0300
@@ -131,6 +131,8 @@
pkgname = gadict
fullpkgname = $(pkgname)-$(vmajor).$(vminor)
+PY_FILES := $(wildcard py/gadict*.py)
+
# GADICT_FILES := $(wildcard *.gadict)
GADICT_FILES := gadict_en-ru+ua.gadict
@@ -322,7 +324,7 @@
dictzip -c $< >$@
# -B suppress __pycache__ dir
-dist/dictd/%.c5: %.gadict | dist/dictd
+dist/dictd/%.c5: %.gadict py/gadict.py py/gadict_c5.py | dist/dictd
python3 -B py/gadict_c5.py $< $@
dist/dictd: