[PATCH xserver 2/2] Makefile.am: make 'make distcheck' verify the meson build

Adam Jackson ajax at redhat.com
Wed May 3 19:40:08 UTC 2017


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index d281ed338..eacd957bd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -129,6 +129,9 @@ install-headers: Makefile
 		fi							\
 	done
 
+distcheck-hook:
+	rm -rf build && meson build && ninja -C build && rm -rf build
+
 EXTRA_DIST += \
 	meson_options.txt \
 	include/xorg-config.h.meson.in \
-- 
2.12.2



More information about the xorg-devel mailing list