Hi, I am working on a package (https://salsa.debian.org/debian-astro-team/sep), that needs a two-stage build: First, a library is built with cmake/make, and then a Python (wrapper) package is built the usual way.
I tried to just have two commands in d/rules: ---------------------------8<------------------------------------------ %: dh $@ --buildsystem=cmake PYBUILD_NAME=sep dh $@ --with python3 --buildsystem=pybuild ---------------------------8<------------------------------------------ however this seems to completely confuse the whole build system: it somehow re-executes the cmake build in the second step, doesn't call setup.py at all, and then doesn't find files to put into the package. What is the proper way to do this? Best regards Ole