From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 2 of 3] Define $(RPM) for use in Makefile Date: Tue, 07 Dec 2010 14:32:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-api@lists.xensource.com Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User root@localhost.localdomain # Date 1290004675 18000 # Node ID cf457090b419139cf5a67382e4ce8a44f03c4539 # Parent 01cface0904c7c5d18703ad3f11909ab2f50471c Define $(RPM) for use in Makefile Signed-off-by: Ian Campbell diff -r 01cface0904c -r cf457090b419 Makefile --- a/Makefile Wed Nov 17 09:37:55 2010 -0500 +++ b/Makefile Wed Nov 17 09:37:55 2010 -0500 @@ -8,6 +8,7 @@ MY_OUTPUT_DIR ?= $(CURDIR)/output MY_OBJ_DIR ?= $(CURDIR)/obj REPO ?= $(CURDIR) +RPM?=rpm RPM_SPECSDIR?=$(shell rpm --eval='%_specdir') RPM_SRPMSDIR?=$(shell rpm --eval='%_srcrpmdir') RPM_RPMSDIR?=$(shell rpm --eval='%_rpmdir')