From: Ian Campbell Subject: Re: [PATCH 0/3] move libxc and xenstore public headers to include subdir Date: Thu, 10 Jul 2014 17:44:07 +0100 Message-ID: <1405010647.7406.5.camel@kazak.uk.xensource.com> References: <21438.49434.359566.467942@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21438.49434.359566.467942@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.xensource.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-10 at 17:36 +0100, Ian Jackson wrote: > Stefano Stabellini writes ("[PATCH 0/3] move libxc and xenstore public headers to include subdir"): > > this patch series separates out the public libxc and xenstore headers > > that are supposed to be usable by external programs, such as QEMU, from > > the private internal headers. > > > > The public headers are moved to a subdirectory called "include". > > > > The headers move requires changes to a few Makefiles, one of which is > > qemu-xen-traditional's (the patch to qemu-xen-traditional is sent > > separately). > > > > The series in its current form is not bisectable. > > I don't think this is the right way to do this. > > It seems to me that, instead, these headers are (or should be) put > into dist/install/, Definitely not. dist/install is an output directory which only some of our build runes create (basically those which are a shortcut for make install DESTDIR=dist) My build scripts for example don't use those rules, instead they do make -C tools build dir=$(mktemp -d /tmp/XXXXXX) make tools-install DESTDIR=${dir} Lots of distro packaging will do the same. > and anything out-of-tree which needs them should > be looking for them there. Properly out of tree things should get them from /usr/{local/,}include which is where they are installed. This patch is about in-tree things and pseudo-in-tree things like tools/qemu-xen-dir. They are using -Itools/xenstore and picking up xenstore's internal headers alongside the public headers. Ian.