DEB pytqt: Build for all installed pythons, instead of just default.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/200/head
Slávek Banko 2 years ago
parent f45dc99b33
commit 808a6a0f0b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -41,7 +41,7 @@ else
endif endif
CXXFLAGS += "-I/usr/include/tqt" CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell py3versions -vd) PYTHONS := $(shell py3versions -vr)
DEB_PARALLEL_JOBS ?= 40 DEB_PARALLEL_JOBS ?= 40
@ -110,7 +110,7 @@ install-arch: build
dh_clean -k -a dh_clean -k -a
dh_installdirs -a dh_installdirs -a
for p in $(PYTHONS) ; do \ for p in ${PYTHONS} ; do \
$(MAKE) -f debian/rules install-arch-$$p;\ $(MAKE) -f debian/rules install-arch-$$p;\
done done
@ -126,7 +126,7 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py

@ -41,7 +41,7 @@ else
endif endif
CXXFLAGS += "-I/usr/include/tqt" CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell py3versions -vd) PYTHONS := $(shell py3versions -vr)
DEB_PARALLEL_JOBS ?= 40 DEB_PARALLEL_JOBS ?= 40
@ -113,7 +113,7 @@ install-arch: build
dh_clean -k -a dh_clean -k -a
dh_installdirs -a dh_installdirs -a
for p in $(PYTHONS) ; do \ for p in ${PYTHONS} ; do \
$(MAKE) -f debian/rules install-arch-$$p;\ $(MAKE) -f debian/rules install-arch-$$p;\
done done
@ -129,7 +129,7 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
# $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg # $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py

@ -41,7 +41,7 @@ else
endif endif
CXXFLAGS += "-I/usr/include/tqt" CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell py3versions -vd) PYTHONS := $(shell py3versions -vr)
DEB_PARALLEL_JOBS ?= 40 DEB_PARALLEL_JOBS ?= 40
@ -110,7 +110,7 @@ install-arch: build
dh_clean -k -a dh_clean -k -a
dh_installdirs -a dh_installdirs -a
for p in $(PYTHONS) ; do \ for p in ${PYTHONS} ; do \
$(MAKE) -f debian/rules install-arch-$$p;\ $(MAKE) -f debian/rules install-arch-$$p;\
done done
@ -126,7 +126,7 @@ install-arch: build
install-arch-3.%: install-arch-3.%:
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg
mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py

Loading…
Cancel
Save