[dm-devel] Multipath: [patch] exclude meta data dirs
Guido Guenther
agx at sigxcpu.org
Sun Jun 10 20:47:50 UTC 2007
make sure we don't try to build in .svn, .pc, .git or other SCM metadata
directories.
Cheers,
-- Guido
Signed-Off-By: Guido Günther <agx at sigxcpu.org>
Index: multipath-tools/Makefile
===================================================================
--- multipath-tools.orig/Makefile 2006-12-17 20:22:51.000000000 +0100
+++ multipath-tools/Makefile 2006-12-17 20:23:04.000000000 +0100
@@ -20,7 +20,7 @@
export KRNLSRC
export KRNLOBJ
-BUILDDIRS = $(shell find . -mindepth 2 -name Makefile -exec dirname {} \; | grep -v ^lib)
+BUILDDIRS = $(shell find . -mindepth 2 -name Makefile -exec dirname {} \; | grep -vE '^lib|/\.')
ifeq ($(MULTIPATH_VERSION),)
VERSION = $(shell basename ${PWD} | cut -d'-' -f3)
More information about the dm-devel
mailing list