Whamcloud - gitweb
Add ".#*" to the list of files removed from the make dist target dir.
[fs/lustre-release.git] / build / autoMakefile.am.toplevel
index 096edf5..3413efc 100644 (file)
@@ -58,8 +58,9 @@ endif # LINUX
 endif # MODULES
 
 dist-hook:
 endif # MODULES
 
 dist-hook:
-       find $(distdir) -name .deps | xargs rm -rf
-       find $(distdir) -name CVS | xargs rm -rf
+       find $(distdir) -name .deps -o \
+                       -name CVS -o \
+                       -name .#* | xargs rm -rf
 
 build/lustre.spec: build/lustre.spec.in config.status
        ./config.status build/lustre.spec
 
 build/lustre.spec: build/lustre.spec.in config.status
        ./config.status build/lustre.spec