]> Lady’s Gitweb - Shushe/commitdiff
Re·order remakes to (again) fix restarts
authorLady <redacted>
Mon, 1 Jan 2024 20:49:15 +0000 (15:49 -0500)
committerLady <redacted>
Tue, 2 Jan 2024 18:27:04 +0000 (13:27 -0500)
In cases where `$(BUILDDIR)/dependencies` exists but
`$(BUILDDIR)/.update-types` (initially) does not, it is important to
check for dependency updates *first*, prior to checking for parser
updates. This is because when parsers are updated, the dependency file
will be deleted, causing the dependency reload recipe to activate
immediately (prior to a restart) if it hasn’t already been checked.

Having correct behaviour depend on the ordering of these recipes isn’t
ideal, but the alternative is checking whether
`$(BUILDDIR)/.update-types` was created *in the course of processing
the make·file* and disabling dependency creation until the next restart
if it had been. This sounds unbearably complex and difficult to phrase
in a readable manner.


No differences found
This page took 0.062072 seconds and 4 git commands to generate.