From: Lady <redacted>
Date: Sat, 25 Jan 2025 02:32:09 +0000 (-0500)
Subject: Fix prerequisite handling when there are none
X-Git-Tag: 1.0.0~1
X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/15648b660cd14e2834629ad52b65ceb313362c9b?ds=sidebyside;hp=15648b660cd14e2834629ad52b65ceb313362c9b

Fix prerequisite handling when there are none

In a directory with no sources, there won’t be any metadata, and so
the `$(and …)` in `$(diffprereqs)` would exit early, before creating
the file in `$(BUILDDIR)/lastprereqs`. However, this latter file is
still returned as a prerequisite. This commit touches it if it doesn’t
exist to ensure it is always created.
---