mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
py-*.mk: Fix python version detection
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ae48f6aab6
commit
956aea82eb
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ install-reg.done: install-dirs.done $(PY_INSTALLED_REG)
|
|||
$(PY_INSTALL_DIR_PY)/%.py: %.py
|
||||
$(INSTALL) -p -m $(PYMODMODE) -o $(PYMODOWNER) -g $(PYMODGROUP) $< $@
|
||||
|
||||
ifneq ($(PYTHON),python3)
|
||||
ifneq ($(PYTHON_VERSION),3)
|
||||
%.pyc: %.py
|
||||
else
|
||||
__pycache__/%.cpython-37.pyc: %.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue