From: Ian Jackson Subject: Re: [PATCH] tools/vtpm: do not install if vtpm can not be build Date: Tue, 3 Apr 2012 15:56:12 +0100 Message-ID: <20347.3980.401034.775731@mariner.uk.xensource.com> 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.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[Xen-devel] [PATCH] tools/vtpm: do not install if vtpm can not be build"): > tools/vtpm: do not install if vtpm can not be build > > A simple 'make tools' fails in vtpm because there is also a 'make install' > during make tools. vtpm checks only in the build target wether it can be > built at all, but the check is missing in the install target as well. Thanks. I have two comments: firstly, I think it would be best to avoid repeating the test in the install rule. If necessary you can use a make variable to contain the runes. But my second comment is: shouldn't this kind of test be done with autoconf nowadays ? Ian.