DEB sip4-tqt: Fix empty python3-sip-tqt-dbg package.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/117/head
Slávek Banko 3 years ago
parent cfaca8188c
commit 71eaac9990
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -105,6 +105,10 @@ install-arch: build
b=$$(basename $$i .so); \ b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \ mv $$i $$(dirname $$i)/$${b}_d.so; \
done done
for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \; find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -164,6 +168,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
mkdir -p debian/python-sip-tqt-dbg/usr/share/doc mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif endif
dh_compress -X.inv dh_compress -X.inv
dh_fixperms dh_fixperms
@ -172,7 +179,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else else
${DH_PYTHON2} ${DH_PYTHON2}
endif endif
dh_python3 dh_python3 --no-dbg-cleaning
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol

@ -109,6 +109,10 @@ install-arch: build
# b=$$(basename $$i .so); \ # b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \ # mv $$i $$(dirname $$i)/$${b}_d.so; \
# done # done
# for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
# b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \
# done
# find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f # find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
# find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \; # find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
# find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f # find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -168,6 +172,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
# mkdir -p debian/python-sip-tqt-dbg/usr/share/doc # mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
# ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg # ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
# mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
# ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif endif
dh_compress -X.inv dh_compress -X.inv
dh_fixperms dh_fixperms
@ -176,7 +183,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else else
${DH_PYTHON2} ${DH_PYTHON2}
endif endif
dh_python3 dh_python3 --no-dbg-cleaning
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol

@ -105,6 +105,10 @@ install-arch: build
b=$$(basename $$i .so); \ b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \ mv $$i $$(dirname $$i)/$${b}_d.so; \
done done
for i in $$(find debian/python3-sip-tqt-dbg -name '*.so'); do \
b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \
done
find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f find debian/python-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \; find debian/python-sip-tqt-dbg -depth -empty -exec rmdir {} \;
find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f find debian/python3-sip-tqt-dbg ! -type d ! -name '*_d.*' | xargs rm -f
@ -164,6 +168,9 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg rm -rf debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
mkdir -p debian/python-sip-tqt-dbg/usr/share/doc mkdir -p debian/python-sip-tqt-dbg/usr/share/doc
ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg ln -s python-sip-tqt debian/python-sip-tqt-dbg/usr/share/doc/python-sip-tqt-dbg
rm -rf debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
mkdir -p debian/python3-sip-tqt-dbg/usr/share/doc
ln -s python3-sip-tqt debian/python3-sip-tqt-dbg/usr/share/doc/python3-sip-tqt-dbg
endif endif
dh_compress -X.inv dh_compress -X.inv
dh_fixperms dh_fixperms
@ -172,7 +179,7 @@ ifneq (dh_pysupport,${DH_PYTHON2})
else else
${DH_PYTHON2} ${DH_PYTHON2}
endif endif
dh_python3 dh_python3 --no-dbg-cleaning
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol

Loading…
Cancel
Save