From: Lady <redacted>
Date: Sat, 25 May 2024 04:08:01 +0000 (-0400)
Subject: Improve SRCDIR/INCLUDEDIR handling; allow dot
X-Git-Tag: 0.9.3~1
X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/655dfa89c0782dd1252cdca50ef4182e4dc8cf95?ds=sidebyside;hp=655dfa89c0782dd1252cdca50ef4182e4dc8cf95

Improve SRCDIR/INCLUDEDIR handling; allow dot

- Explicitly allow `find` to match `.`, which otherwise would be
  excluded as a dotfile.

- Add special handling to drop the leading `./` that results from the
  above, and generate the appropriate local paths without needing it.

- Error when trying to perform certain transformations on file·names
  and failing, to better aid diagnosis.

- When a file has no destination (because `destinations` has not been
  generated yet), use the fake destination `NOTDEF`. (Make will restart
  before this destination is used.)
---