From: Lady Date: Mon, 1 Jan 2024 20:49:15 +0000 (-0500) Subject: Re·order remakes to (again) fix restarts X-Git-Tag: 0.2.0~3 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/55fc968f72857e25fcafe6088c873f5032555c79?ds=sidebyside;hp=55fc968f72857e25fcafe6088c873f5032555c79 Re·order remakes to (again) fix restarts 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. ---