aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-12-16 13:13:40 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-02 21:03:36 +0100
commitfc5db021bd57ee61a8984eea478f583f98a52c83 (patch)
treebb99746cb0c8375807ddbca28ec78ff951af1520
parente921f1a71032291035ada7b0ab35c2d01a0f6a0c (diff)
Makefile: add dummy target for build.ninja dependencies
The dummy targets ensure that incremental build can be done after deleting a meson.build file. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 76dbb917f5..fb9923ff22 100644
--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,7 @@ Makefile.ninja: build.ninja
# A separate rule is needed for Makefile dependencies to avoid -n
build.ninja: build.ninja.stamp
+$(build-files):
build.ninja.stamp: meson.stamp $(build-files)
$(NINJA) $(if $V,-v,) build.ninja && touch $@
endif