[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] build: Fix distclean when repo location changes



Andrei Lifchits writes ("Re: [Xen-devel] [PATCH] build: Fix distclean when repo 
location changes"):
> On Wed, Feb 20, 2013 at 5:01 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Wed, 2013-02-20 at 16:47 +0000, Andrei Lifchits wrote:
> >> If the path to xen-unstable.hg changes (i.e. you move the repo), the 
> >> symlinks
> >> inside xen-unstable.hg/stubdom/libxc-x86_[32|64]/ all become broken, which
> >> breaks distclean because make attempts to clean inside those first and 
> >> fails to
> >> find Makefile (which is also a symlink).
> 
> Signed-off-by: Andrei Lifchits <andrei.lifchits@xxxxxxxxxx>

Thanks, I've applied the patch.

> > Would it be possible to arrange for the symlinks to be relative in the
> > first place?
> 
> Good idea, I'll look into it when I have time (there are a lot of
> those symlinks in various places).

Right.  As I say I don't think this is a thing that should be expected
to be work but I won't block you from working on it :-).

Making "distclean" work after the tree is moved might be easier than
making just "make" still work; the latter would involve making sure
that all the -Is etc. were relative, as those paths end up in .d
files.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.