[pve-devel] [RFC common 0/8] build refactoring
Wolfgang Bumiller
w.bumiller at proxmox.com
Mon Oct 22 11:19:18 CEST 2018
On Wed, Oct 17, 2018 at 02:36:01PM +0200, Fabian Grünbichler wrote:
> the main interesting patches are #1 which introduces the possibility to build a
> Debian source package instead of a binary package, and #2 which shows the
> result of using such a source package to check the list of build-dependencies
> for completeness.
>
> the other patches are just cleanups along the way.
>
> I'd like to introduce similar series for all other repositories in the coming
> weeks, unless there are objections to this approach.
Ack on the series and doing this for more packages.
The only thing we still can't do "nicely" with the current Makefiles is
proper source file dependency tracking. Eg. currently:
$ make deb
<builds>
$ touch src/Makefile
$ make deb
<builds>
$ touch src/PVE/Tools.pm
$ make deb
<doesn't build>
The 2nd `make deb` builds because you put src/ into $(BUILDDIR)'s
dependency list and changing a file in the directory will touch it, but
a file inside a subdirectory won't have that effect.
More information about the pve-devel
mailing list