From e1245d83e9c0d556272c3f3c874adab49a1e088c Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sun, 6 May 2018 20:46:13 -0700 Subject: [PATCH] Prevent `make distclean` removing 0 sized file __init__.py used by Python packages typically has nothing in it including contrib/pyzfs/libzfs_core/test/__init__.py, however this causes `make distclean` to delete the file. This is the only file with size 0, and it seems reasonable to have a comment to avoid being deleted, rather than trying to modify distclean behavior. # find . -size 0 ./contrib/pyzfs/libzfs_core/test/__init__.py # ./autogen.sh ; ./configure ; make -j8 # make distclean # ls contrib/pyzfs/libzfs_core/test/__init__.py ls: cannot access 'contrib/pyzfs/libzfs_core/test/__init__.py': No such file or directory # git diff diff --git a/contrib/pyzfs/libzfs_core/test/__init__.py b/contrib/pyzfs/libzfs_core/test/__init__.py deleted file mode 100644 Reviewed-by: Brian Behlendorf Signed-off-by: Tomohiro Kusumi Closes #7505 --- contrib/pyzfs/libzfs_core/test/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/pyzfs/libzfs_core/test/__init__.py b/contrib/pyzfs/libzfs_core/test/__init__.py index e69de29bb2d1..617cef7aa2b4 100644 --- a/contrib/pyzfs/libzfs_core/test/__init__.py +++ b/contrib/pyzfs/libzfs_core/test/__init__.py @@ -0,0 +1 @@ +# `make distclean` deletes files with size 0. This comment is to avoid that.