summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index e8d99e1e..e02938c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -629,3 +629,10 @@ EXTRA_DIST += \
subprojects/libgwater/xcb/meson.build \
meson_options.txt \
meson.build
+
+distcheck-hook:
+ cd $(distdir) && \
+ rm -rf ../meson-test-build && \
+ meson ../meson-test-build && \
+ ninja -C ../meson-test-build test && \
+ rm -rf ../meson-test-build