python: adjust help, hide more if no python available, search lua/cmd/py if no extension given

This commit is contained in:
Philippe Teuwen
2020-05-27 01:15:20 +02:00
parent b4c715d8fb
commit fcfdd92407
2 changed files with 25 additions and 8 deletions

View File

@@ -372,10 +372,14 @@ else
endif
endif
ifeq ($(PYTHON_FOUND),1)
$(info Python3 library: Python3 v$(shell pkg-config --modversion python3) found, enabled)
ifeq ($(SKIPPYTHON),1)
$(info Python3 library: skipped)
else
$(info Python3 library: Python3 not found, disabled)
ifeq ($(PYTHON_FOUND),1)
$(info Python3 library: Python3 v$(shell pkg-config --modversion python3) found, enabled)
else
$(info Python3 library: Python3 not found, disabled)
endif
endif
ifeq ($(SKIPWHEREAMISYSTEM),1)