Message ID | 1470940418-4604-1-git-send-email-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E64E6022E for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 11 Aug 2016 18:37:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11BA428768 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 11 Aug 2016 18:37:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06ADA28777; Thu, 11 Aug 2016 18:37:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B87E028768 for <patchwork-dm-devel@patchwork.kernel.org>; Thu, 11 Aug 2016 18:37:19 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7BIXlKF005816; Thu, 11 Aug 2016 14:33:47 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u7BIXhd7020422 for <dm-devel@listman.util.phx.redhat.com>; Thu, 11 Aug 2016 14:33:43 -0400 Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7BIXh9O007588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <dm-devel@redhat.com>; Thu, 11 Aug 2016 14:33:43 -0400 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1EFA668E1E for <dm-devel@redhat.com>; Thu, 11 Aug 2016 18:33:43 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id i138so768345wmf.3 for <dm-devel@redhat.com>; Thu, 11 Aug 2016 11:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DO35NRQeL/msGROfD8hOJMHdlABqRfrmbj8FyIAHdDA=; b=XdbgoRdiOYTZbwRMxY0r9JOpY3uz/E5nUnBaGHXeVZNKlzs1YPA3LiLbb84I6DmCJx 8mXm67J0DdceX/XNfAuFNnfSctFsRi1BcjxPh7YwQvcvYQ52e6MLDmos6ioCxcp6JeY/ rZ2KXqcfRNafal4Vy8U7xwPTQwu5aAQG5DXaBGilDszNCDGurNowExuRansYl8GDLspT ASQJTlCa6UsZ7i6f5BopuaWNyrSDNhMzfan1zPOfApK74NgXn/tFsKc066pyEe0EA9jd GZaHN7xvis0kan2vtoEIhbltbp7YbSTa6fgvjIHBXF/oW2J/DE19S2LhrnZVVtOH94vU b4Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DO35NRQeL/msGROfD8hOJMHdlABqRfrmbj8FyIAHdDA=; b=JazBm5h2rlaw9hzqyguRuqJHyqlH3St4jfwn17SBapN0lto4zvSdij/eTDhnIfDUWP YCdOpb8GbM9YosdJ1EejkmV0yrrEc6BbitXDGdfNwD48i/5hx2B+WO7xpNT9r47HFRpx Y9MCUQsSwhPIGKEb+6CQvkFGZRBVy0cCphtMriu6uBfCCDgaFp1N3vggxtmwoBihandT ES4JMvAJ7I6uAZgVD+zOvKkgGfhVZlwRYel8dM8U2cfFV+93nwIfCYX9q+KRnd6h4EaO yc4zMnuYU1y4FrGqhQAo7PKQ3Byzz0CRzh6+rJyKojhy2dN8L/msatxxDHfj+t07eGaw Wadg== X-Gm-Message-State: AEkoouuYCaKlW4D+8AcYuO0SF9LwIpdg/QBwFgenurPHQnAiOembJLmO0vx9zn1Rakv5Hw== X-Received: by 10.28.37.71 with SMTP id l68mr11566082wml.50.1470940421794; Thu, 11 Aug 2016 11:33:41 -0700 (PDT) Received: from localhost ([31.221.137.200]) by smtp.gmail.com with ESMTPSA id pm1sm3874952wjb.40.2016.08.11.11.33.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 11:33:41 -0700 (PDT) From: Xose Vazquez Perez <xose.vazquez@gmail.com> To: Date: Thu, 11 Aug 2016 20:33:37 +0200 Message-Id: <1470940418-4604-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 11 Aug 2016 18:33:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 11 Aug 2016 18:33:43 +0000 (UTC) for IP:'74.125.82.68' DOMAIN:'mail-wm0-f68.google.com' HELO:'mail-wm0-f68.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.68 mail-wm0-f68.google.com 74.125.82.68 mail-wm0-f68.google.com <xose.vazquez@gmail.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.25 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com>, Xose Vazquez Perez <xose.vazquez@gmail.com> Subject: [dm-devel] [PATCH 10/11] multipath-tools: move code up in Makefile X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
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:
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)