Does not work correctly if user uses MAKEFLAGS to enable parallel make.
Many users do things like
export MAKEFLAGS="-j$(nproc)", which tells make to use parallel jobs to speed up builds on a multi-core machine.
However, the Makefile that
gdk calls is written with many dependencies missing, meaning that parallel make may call jobs out-of-order. For instance, when running
gdk install, it will try to copy
.yml.example files to just
.yml before the git repository containing the
.yml.example file has finished cloning.
Normally, I would suggest explicitly declaring the dependencies in the Makefile, but given that it seems to be being phased out anyway (#166), it may be more appealing to just stick
.NOTPARALLEL: somewhere in the Makefile.