swig.mk, defs-(dist|dev).mk: Fix Python 3 support

python38.pc doesn't exist on OpenSUSE Tumbleweed, python-38.pc does, so use
that naming scheme. Also allow installation with DEVELOPMENT=true, failed with
the attempt to install as root user before.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2020-11-21 13:09:15 +00:00
commit e06ead38cc
3 changed files with 11 additions and 5 deletions

View file

@ -98,6 +98,9 @@ PYMODMODE ?= 644
PYJWBDIROWNER ?= root
PYJWBDIRGROUP ?= root
PYJWBDIRMODE ?= 755
SWIG_TARGETOWNER ?= $(PYMODOWNER)
SWIG_TARGETGROUP ?= $(PYMODGROUP)
SWIG_TARGETMODE ?= $(PYMODMODE)
INITDIRMODE ?= $(EXEDIRMODE)
INITOWNER ?= $(EXEOWNER)
INITGROUP ?= $(EXEGROUP)