@Frederic
 
> I prepared a directory with a bunch of sources packages.
> 
> Now I need to build them in the right order with sbuild.

I wasn't yet in this situation packaging for Debian.  Yet conceptually your
goal seems similar to compiling, then linking multiple object files into an
executable for Fortran projects with a Makefile\* tailored to your needs. An
example is developed in a lab class[1] by Daniel Price of Monash
University/Australia.  Though not a tool prêt-à-porter to pick from Debian's
repositories you look for, this (now ad hoc) approach might help you -- both
today, and as reusable "recipe" when the need to rebuild occurs again.

Regards,

Norwid

\* Today, fpm/Fortran project manager[2] is an alternative to Make/CMake here.

[1] https://users.monash.edu.au/~dprice/teaching/fortran/lab-Fortran.pdf
[2] https://github.com/fortran-lang/fpm

Reply via email to