|
|
|
@ -55,7 +55,7 @@ build-%/configure-stamp:
|
|
|
|
|
| python$* ../configure.py \
|
|
|
|
|
-c -n /usr/include/tqt3 \
|
|
|
|
|
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
|
|
|
|
|
-d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
|
|
|
|
|
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
|
|
|
|
|
-l /usr/include/python$* \
|
|
|
|
|
-v /usr/share/sip-tqt/tqt \
|
|
|
|
|
-m /usr/lib/python$*/config \
|
|
|
|
@ -70,7 +70,7 @@ dbg-build-%/configure-stamp:
|
|
|
|
|
| python$*-dbg ../configure.py \
|
|
|
|
|
-c -n /usr/include/tqt3 \
|
|
|
|
|
-o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \
|
|
|
|
|
-d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
|
|
|
|
|
-d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \
|
|
|
|
|
-l /usr/include/python$*_d \
|
|
|
|
|
-v /usr/share/sip-tqt/tqt \
|
|
|
|
|
-m /usr/lib/python$*/config_d \
|
|
|
|
@ -97,7 +97,7 @@ install-indep: configure
|
|
|
|
|
dh_clean -k -i
|
|
|
|
|
dh_installdirs -i
|
|
|
|
|
for version in ${PYTHONS}; do\
|
|
|
|
|
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/python_tqt;\
|
|
|
|
|
pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())')/PyTQt;\
|
|
|
|
|
mkdir -p debian/python-tqt-dev/$$pylib;\
|
|
|
|
|
install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-tqt-dev/$$pylib;\
|
|
|
|
|
done
|
|
|
|
@ -134,28 +134,28 @@ install-arch: build
|
|
|
|
|
install-arch-3.%:
|
|
|
|
|
$(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp
|
|
|
|
|
$(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-tqt-dbg
|
|
|
|
|
mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/__init__.py \
|
|
|
|
|
debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/__init__.py
|
|
|
|
|
mkdir -p debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/qtgl.so \
|
|
|
|
|
debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/
|
|
|
|
|
mkdir -p debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/qtext.so \
|
|
|
|
|
debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/python_tqt/
|
|
|
|
|
mkdir -p debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
|
|
|
|
|
debian/python3-tqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py
|
|
|
|
|
mkdir -p debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
|
|
|
|
|
debian/python3-tqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
|
|
|
|
|
mkdir -p debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
mv debian/python3-tqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
|
|
|
|
|
debian/python3-tqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/
|
|
|
|
|
|
|
|
|
|
install-arch-%:
|
|
|
|
|
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
|
|
|
|
|
$(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-tqt-dbg
|
|
|
|
|
mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/__init__.py \
|
|
|
|
|
debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/__init__.py
|
|
|
|
|
mkdir -p debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/qtgl.so \
|
|
|
|
|
debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/
|
|
|
|
|
mkdir -p debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt
|
|
|
|
|
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/qtext.so \
|
|
|
|
|
debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/python_tqt/
|
|
|
|
|
mkdir -p debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \
|
|
|
|
|
debian/python-tqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py
|
|
|
|
|
mkdir -p debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \
|
|
|
|
|
debian/python-tqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
|
|
|
|
|
mkdir -p debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt
|
|
|
|
|
mv debian/python-tqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \
|
|
|
|
|
debian/python-tqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
dh_testdir
|
|
|
|
|