mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-28 15:52:49 +01:00
py-mod.mk: Fix python version conditional
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
263820370c
commit
42e01d9dd8
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ __pycache__/%.cpython-37.pyc: %.py
|
||||||
endif
|
endif
|
||||||
$(PYTHON) -c "import py_compile; py_compile.compile(\"$<\", doraise=True)"
|
$(PYTHON) -c "import py_compile; py_compile.compile(\"$<\", doraise=True)"
|
||||||
|
|
||||||
ifeq ($(PYTHON),python3)
|
ifeq ($(PYTHON_VERSION),3)
|
||||||
$(PY_INSTALL_DIR_PY)/__pycache__/%.cpython-37.pyc: __pycache__/%.cpython-37.pyc
|
$(PY_INSTALL_DIR_PY)/__pycache__/%.cpython-37.pyc: __pycache__/%.cpython-37.pyc
|
||||||
else
|
else
|
||||||
$(PY_INSTALL_DIR_PY)/%.pyc: %.pyc
|
$(PY_INSTALL_DIR_PY)/%.pyc: %.pyc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue