This is the usual way of flagging fatal errors in Makefiles, and gives
you the error exit code too.

Signed-off-by: Jani Nikula <[email protected]>
---
 Makefile.meson | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.meson b/Makefile.meson
index 2ed642bdab37..6955e6a9a694 100644
--- a/Makefile.meson
+++ b/Makefile.meson
@@ -24,10 +24,10 @@ reconfigure: build/build.ninja
        ninja -C build reconfigure
 
 check distcheck dist distclean:
-       echo "This is the meson wrapper, not automake" && false
+       $(error This is the meson wrapper, not automake)
 
 install uninstall:
-       echo "meson install support not yet completed" && false
+       $(error meson install support not yet completed)
 
 docs:
-       echo "meson gtkdoc support not yet completed" && false
+       $(error meson gtkdoc support not yet completed)
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to