summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 22:08:52 -0500
committermidipix <writeonce@midipix.org>2018-12-19 22:10:15 -0500
commit87d32e6fbeb5506e5f2d6f3147dbc0c9eae97c95 (patch)
tree86c7ac5c56999d028403bb8f10e6e42477da1447 /project
parent1fcc4d9d5e42d2872b038aa9e8a42076266bca5d (diff)
downloadsbpython2-87d32e6fbeb5506e5f2d6f3147dbc0c9eae97c95.tar.bz2
sbpython2-87d32e6fbeb5506e5f2d6f3147dbc0c9eae97c95.tar.xz
project: .pyc generation: added dummy rule for ttk.pyc (requires tcl/tk).
Diffstat (limited to 'project')
-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)