summaryrefslogtreecommitdiff
path: root/dist-check.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-04-02 18:42:19 -0700
committerJim Meyering <meyering@fb.com>2016-05-30 16:28:16 -0700
commita10ff125c8ff7fbaf1100cd41ea4e8ac0d594c82 (patch)
treed363ecd4064f165eb44eb0726203e34948a8be34 /dist-check.mk
parent752679190cf610ea32c54d625c368bb87da156fc (diff)
downloaddiffutils-a10ff125c8ff7fbaf1100cd41ea4e8ac0d594c82.tar.gz
maint: arrange for "make distcheck" to work with unreleased automake
* dist-check.mk (my-distcheck): Remove all .deps directories before performing the recursive comparison.
Diffstat (limited to 'dist-check.mk')
-rw-r--r--dist-check.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist-check.mk b/dist-check.mk
index dd30db2..06d8d90 100644
--- a/dist-check.mk
+++ b/dist-check.mk
@@ -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)