maint: arrange for "make distcheck" to work with unreleased automake

* dist-check.mk (my-distcheck): Remove all .deps directories
before performing the recursive comparison.
This commit is contained in:
Jim Meyering 2016-04-02 18:42:19 -07:00
parent 752679190c
commit a10ff125c8

View File

@ -161,6 +161,7 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check)
)
(cd $(t) && mv $(distdir) $(distdir).old \
&& $(amtar_extract_) - ) < $(preferred_tarball_)
find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs rm -rf
diff -ur $(t)/$(distdir).old $(t)/$(distdir)
-rm -rf $(t)
rmdir $(tmpdir)/$(PACKAGE) $(tmpdir)