Fix distcheck
diff --git a/test/shaping/data/in-house/Makefile.am b/test/shaping/data/in-house/Makefile.am
index aab1652..8a2a076 100644
--- a/test/shaping/data/in-house/Makefile.am
+++ b/test/shaping/data/in-house/Makefile.am
@@ -9,7 +9,7 @@
 EXTRA_DIST = \
 	COPYING \
 	fonts \
-	tests \
+	$(TESTS) \
 	$(NULL)
 
 TEST_EXTENSIONS = .tests
diff --git a/test/shaping/data/text-rendering-tests/Makefile.am b/test/shaping/data/text-rendering-tests/Makefile.am
index 788db1f..cad0358 100644
--- a/test/shaping/data/text-rendering-tests/Makefile.am
+++ b/test/shaping/data/text-rendering-tests/Makefile.am
@@ -15,7 +15,7 @@
 	update.sh \
 	extract-tests.py \
 	fonts \
-	tests \
+	$(TESTS) \
 	$(NULL)
 
 TEST_EXTENSIONS = .tests