chiark / gitweb /
subdirmk: Fix bug when target in subdir exists
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 01:21:51 +0000 (01:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2019 18:38:38 +0000 (18:38 +0000)
commit26f3a8e48e0116b59d5056e25dc31e46af4ef0aa
tree5a35845f62493bf1a89c7fa9caea370da1dbddcb
parent3f218844e64ad71315f390d7e34af836dab2e04e
subdirmk: Fix bug when target in subdir exists

If you try to make a file that exists, the % rule doesn't seem to
match.  But providing the dependency for all of $(MAKCMDGOALS)
works.

We have to mention `all' explicitly because it might not appear in
$(MAKECMDGOALS).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
subdirmk/generate