+testsuite.deps: testsuite
+if !HAVE_AUTOTEST
+ $(DX_AUTOTEST_ERROR)
+endif
+ $(AM_V_GEN) $(AUTOTEST) $(ATFLAGS) -t m4_include:'$$1' -o $@.tmp \
+ testsuite.at
+ $(AM_V_at) mv -f $@.tmp $@
+
+dist-hook: dist-autotest-deps
+dist-autotest-deps: testsuite.deps
+ exec 3<$?; while read f <&3; do \
+ dir=`expr "$$f" : '\(.*\)/'`; \
+ $(MKDIR_P) "$(distdir)/$$dir" && \
+ chmod u+w "$(distdir)/$$dir" && \
+ cp -p "$(srcdir)/$$f" "$(distdir)/$$f" || exit; \
+ done
+.PHONY: dist-autotest-deps
+
+EXTRA_DIST += testsuite testsuite.at testsuite.deps package.m4