diff options
author | Zack Weinberg <zackw@panix.com> | 2022-09-28 09:06:40 -0700 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-28 09:06:40 -0700 |
commit | 5615016cfe2ed03ba6b26e67c27a1df815b22ec9 (patch) | |
tree | bb4c7aaa432fe634628cb7d44563547a591c64a1 | |
parent | cea8158fb8e0432f30c46c90151aee0a0b1aa594 (diff) | |
download | automake-5615016cfe2ed03ba6b26e67c27a1df815b22ec9.tar.gz |
dist: ignore "silly rename" files from nfs/afs/smb.
This change is per automake thread:
https://lists.gnu.org/archive/html/automake/2022-09/msg00002.html
* lib/am/distdir.am (distcleancheck_listfiles): filter "silly rename"
files (.nfs* .smb* .__afs*), unavoidably created by deleting files
that are still open in some process on network file systems.
-rw-r--r-- | lib/am/distdir.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/am/distdir.am b/lib/am/distdir.am index 0f591266d..aa2be5238 100644 --- a/lib/am/distdir.am +++ b/lib/am/distdir.am @@ -568,7 +568,9 @@ distuninstallcheck: ## Define distcleancheck_listfiles and distcleancheck separately ## from distcheck, so that they can be overridden by the user. .PHONY: distcleancheck -distcleancheck_listfiles = find . -type f -print +distcleancheck_listfiles = \ + find . \( -type f -a \! \ + \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |