summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist-check.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist-check.mk b/dist-check.mk
index 533b7f921..9f8db1345 100644
--- a/dist-check.mk
+++ b/dist-check.mk
@@ -120,6 +120,10 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check)
)
(cd $(t) && mv $(distdir) $(distdir).old \
&& $(amtar_extract_) - ) < $(preferred_tarball_)
+# With post-v1.15 automake, "distclean" would fail to remove .deps
+# directories, leading to a spurious failure of the following recursive diff.
+# FIXME: remove this, once automake is fixed.
+ find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs rmdir
diff -ur $(t)/$(distdir).old $(t)/$(distdir)
-rm -rf $(t)
rmdir $(tmpdir)/$(PACKAGE) $(tmpdir)