Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx> Cc: device-mapper development <dm-devel@xxxxxxxxxx> Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx> --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7786c83..95c7dfb 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,12 @@ ifeq ($(KRNLSRC),) endif endif +ifeq ($(MULTIPATH_VERSION),) + VERSION = $(shell basename ${PWD} | cut -d'-' -f3) +else + VERSION = $(MULTIPATH_VERSION) +endif + export KRNLSRC export KRNLOBJ @@ -30,12 +36,6 @@ BUILDDIRS = \ mpathpersist \ kpartx -ifeq ($(MULTIPATH_VERSION),) - VERSION = $(shell basename ${PWD} | cut -d'-' -f3) -else - VERSION = $(MULTIPATH_VERSION) -endif - all: recurse recurse: -- 2.7.4 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel