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

[dm-devel] Multipath: [patch] exclude meta data dirs



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 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)


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