Install real __init__.py instead of empty in python_tqt on Debian and Ubuntu

This relates to bug 2693

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4507e3e24c)
pull/92/head
Slávek Banko 8 years ago
parent b9829d4c9f
commit ba412349c7

@ -111,7 +111,8 @@ install-arch: build
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()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\ mkdir -p debian/python-tqt/$$pylib;\
touch debian/python-tqt/$$pylib/__init__.py;\ cp -a debian/tmp/$$pylib/__init__.py \
debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\ mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \ mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\ debian/python-tqt-gl-dbg/$$pylib/;\

@ -113,7 +113,8 @@ install-arch: build
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()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\ mkdir -p debian/python-tqt/$$pylib;\
touch debian/python-tqt/$$pylib/__init__.py;\ cp -a debian/tmp/$$pylib/__init__.py \
debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\ mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \ mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\ debian/python-tqt-gl-dbg/$$pylib/;\

@ -113,7 +113,8 @@ install-arch: build
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()')/python_tqt; \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-tqt-dbg;\
mkdir -p debian/python-tqt/$$pylib;\ mkdir -p debian/python-tqt/$$pylib;\
touch debian/python-tqt/$$pylib/__init__.py;\ cp -a debian/tmp/$$pylib/__init__.py \
debian/python-tqt/$$pylib/__init__.py;\
mkdir -p debian/python-tqt-gl-dbg/$$pylib;\ mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
mv debian/python-tqt-dbg/$$pylib/qtgl.so \ mv debian/python-tqt-dbg/$$pylib/qtgl.so \
debian/python-tqt-gl-dbg/$$pylib/;\ debian/python-tqt-gl-dbg/$$pylib/;\

Loading…
Cancel
Save