From 26f3a8e48e0116b59d5056e25dc31e46af4ef0aa Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Nov 2019 01:21:51 +0000 Subject: [PATCH] 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 --- subdirmk/generate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subdirmk/generate b/subdirmk/generate index f46747d..1787546 100755 --- a/subdirmk/generate +++ b/subdirmk/generate @@ -99,7 +99,7 @@ sub write_makefile ($$) { my $cd = $depth ? join('/', ('..',) x $depth) : '.'; o <