buildsystem: fix multi binary packages build
- buildsystem: fix multi binary packages build
Possible fix if multi binary packages exists: https://www.debian.org/doc/manuals/debmake-doc/ch05.en.html
DESTDIR=debian/tmp/ (multi binary package)
Hi,
thanks for the pull request and for showing some much needed love for the build system parts.
Why comes to the change, can you explain a bit why this particular change helps? I’m not immediately connecting this to the multi binary builds, probably because of my lack in knowing insides
Why comes to the change, can you explain a bit why this particular change helps? I’m not immediately connecting this to the multi binary builds, probably because of my lack in knowing insides
Hi!
After spliting binary package to:
package-env, package, alternate-package-name
i've found no venv is installed in anyone.
Then found DESTDIR=debian/tmp/ for multi binary packages,
and after substitution as in #320 all seems to work.
venv is placed in DH_VIRTUALENV_MAINPACKAGE or $sourcepackage
if former not set, but $sourcepackage variant i've not tested.
I've set DH_VIRTUALENV_MAINPACKAGE to package-env, and debian/package.links, debian/alternate-package-name.links contains symlinks in bin, share (applications, pixmaps).