[libvirt PATCH 11/13] syntax-check: Add all target

Andrea Bolognani abologna at redhat.com
Mon May 23 17:37:52 UTC 2022


The makefile is an implementation detail, so point users towards
the proper way of running syntax-check if they happen to call it
directly.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 build-aux/syntax-check.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index a37e43b9f6..b770e89efa 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -20,6 +20,11 @@
 # <http://www.gnu.org/licenses/>.
 
 
+all:
+	@echo "Do not call this file directly, use 'meson test' instead" >&2; \
+	exit 1
+
+
 ## ----- ##
 ## Rules ##
 ## ----- ##
-- 
2.35.3



More information about the libvir-list mailing list