summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/pycgen.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/project/pycgen.mk b/project/pycgen.mk
index f8d6a5d..25c197c 100644
--- a/project/pycgen.mk
+++ b/project/pycgen.mk
@@ -28,10 +28,13 @@ $(PYCOMPILE_DIR)/$(PYDIST_PYCDIR)/./encodings/%.py: $(SOURCE_DIR)/Lib/encodings/
PYCOPY_DSTDIR=$(PYCOMPILE_DIR)/$(PYDIST_PYCDIR)/encodings \
$(PYCOPY) $<
-%.pyc: %.py $(PYCOMPILE) $(PYCGEN_PYSRCS) $(PYCGEN_PYENCS) $(PYCGEN_CFGDAT)
+%.pyc: %.py $(PYCOMPILE) $(PYCGEN_PYSRCS) $(PYCGEN_PYENCS) $(PYCGEN_CFGDAT)
PYCGEN_PYTHON=$(PYCGEN_PYTHON) \
$(PYCGEN) $<
+%/ttk.pyc: pydist.tag
+ touch $@
+
PYCGEN_OBJS = $(PYDIST_PY_SRCS:%.py=%.pyc)
pycgen-deps: $(PYCGEN_PYSRCS) $(PYCGEN_PYENCS)