Force MAKEFLAGS to --jobs=1 to ensure dependencies are executed

sequentially and in-order.

If this is not set, make -j2 web or higher job counts will
cause the build to fail as some dependencies are not expressed
directly on the dependent tasks but as a dependency list
on a parent task.

Alternatively one could add the required dependencies for each
task separately, but that would factually sequentiallize the
build, so there's no real difference except this approach
fixes all dependency chains globally.
pull/257/head
oddlama 2022-05-16 15:41:23 +02:00
parent db613f81cc
commit 6c2aa0c3c2
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
MAKEFLAGS := --jobs=1
VERSION := $(shell git describe --tag) VERSION := $(shell git describe --tag)
.PHONY: .PHONY: