automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: dist: ignore "silly rename" fil


From: Karl Berry
Subject: [automake-commit] branch master updated: dist: ignore "silly rename" files from nfs/afs/smb.
Date: Wed, 28 Sep 2022 12:06:58 -0400

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=5615016cfe2ed03ba6b26e67c27a1df815b22ec9

The following commit(s) were added to refs/heads/master by this push:
     new 5615016cf dist: ignore "silly rename" files from nfs/afs/smb.
5615016cf is described below

commit 5615016cfe2ed03ba6b26e67c27a1df815b22ec9
Author: Zack Weinberg <zackw@panix.com>
AuthorDate: Wed Sep 28 09:06:40 2022 -0700

    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.
---
 lib/am/distdir.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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" ; \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]