From: Ian Campbell Subject: Re: [PATCH] libxl: fix api check Makefile Date: Fri, 31 Aug 2012 16:08:43 +0100 Message-ID: <1346425723.27277.228.camel@zakaz.uk.xensource.com> References: <20544.52351.298163.138907@mariner.uk.xensource.com> <1346425084.27277.220.camel@zakaz.uk.xensource.com> <20544.54022.744391.866200@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20544.54022.744391.866200@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-08-31 at 16:06 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH] libxl: fix api check Makefile"): > > On Fri, 2012-08-31 at 15:38 +0100, Ian Jackson wrote: > > > @@ -116,12 +117,13 @@ $(eval $(genpath-target)) > > > libxl.api-ok: check-libxl-api-rules _libxl.api-for-check > > > $(PERL) $^ > > > + touch $@ > > > > libxl.api-ok needs to either go in .*ignore or start with an _. > > Duh, don't know how I missed that. > > > Otherwise this looks good: > > Acked-by: Ian Campbell > > From: Ian Jackson > Subject: [PATCH v2] libxl: fix api check Makefile > > Touch the libxl.api-ok stamp file, and unconditionally put in place > the new _libxl.api-for-check. This avoids needlessly rerunning the > preprocessor on libxl.h each time we call "make". > > Ensure that _libxl.api-for-check gets the CFLAGS used for xl, so that > if it is asked for in a standalone make run it can find xentoollog.h. > > Remove *.api-ok on clean. > > Also fix .gitignore. > > Signed-off-by: Ian Jackson > Acked-by: Ian Campbell > > -- > v2: add api-ok to gitignore Needs to be in hgignore too. Sorry!