Distribute tests
diff --git a/Makefile.in b/Makefile.in
index 9cf268b..db74f33 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -261,9 +261,6 @@
 	rm -rf $(distdir)
 	mkdir $(distdir)
 	chmod 777 $(distdir)
-	distdir=`cd $(distdir) && pwd` \
-	  && cd $(srcdir) \
-	  && automake --include-deps --output-dir=$$distdir --strictness=gnits
 	@for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
 	  test -f $(distdir)/$$file \
 	  || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 264c240..a2ea463 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,4 +7,5 @@
 confincl.test spelling.test prefix.test badprog.test depend.test exdir.test \
 canon.test
 
-EXTRA_DIST = defs
+## Maybe automake should distribute TESTS?  You tell me.
+EXTRA_DIST = defs $(TESTS)
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 055191b..1d9e4cf 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -45,7 +45,7 @@
 confincl.test spelling.test prefix.test badprog.test depend.test exdir.test \
 canon.test
 
-EXTRA_DIST = defs
+EXTRA_DIST = defs $(TESTS)
 DIST_COMMON = ChangeLog Makefile.am Makefile.in