mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
maint: avoid "make distcheck" failure without excess .deps directories
* Makefile.am (my-distcheck): Add the -r option to xargs so that rmdir doesn't return an error when there are no extraneous .deps dirs.
This commit is contained in:
@@ -123,7 +123,7 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check)
|
||||
# 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
|
||||
find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs -r rmdir
|
||||
diff -ur $(t)/$(distdir).old $(t)/$(distdir)
|
||||
-rm -rf $(t)
|
||||
rmdir $(tmpdir)/$(PACKAGE) $(tmpdir)
|
||||
|
||||
Reference in New Issue
Block a user