From 1a61e06af4f70583198c967e2249f36cd301b5da Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 23 May 2022 16:20:31 +0200 Subject: [PATCH] syntax-check: Add all target 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 Reviewed-by: Michal Privoznik --- 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 @@ # . +all: + @echo "Do not call this file directly, use 'meson test' instead" >&2; \ + exit 1 + + ## ----- ## ## Rules ## ## ----- ##