I have some packages. Let's call them A.deb
, B.deb
and C.deb
. Each package has a corresponding source package A.dsc
and A.tar.gz
, B.dsc
and B.tar.gz
, C.dsc
and C.tar.gz
. The packages depend on each other: C.deb
depends on B.deb
and B.deb
depends on A.deb
If I modify A.deb
, I need to rebuild B.deb
or it won't work. The same goes for B.deb
and C.deb
. Is there a way to automate this process? Is there perhaps a tool or script that will do it for me? If not, how could I automate it myself?
In addition, There are not my packages.
make
was invented for. A makefile includes rules which determine what needs to be recompiled/rebuilt based on what has changed.make
, and as you said yourself, @xiaodongjie, the make targets would be the resulting packages, with their package-to-package dependencies declared, and the associated action for each target would be the command that makes the package. Installmake-doc
and typeinfo make
to read all about it.