Add dependency on py files.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 27 Mar 2016 23:32:42 +0300
changeset 401 791994f95561
parent 400 aa03182d2e26
child 402 b47698d5ccab
Add dependency on py files.
Makefile
--- 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: