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

[Xen-changelog] [xen master] build: Fix distclean when repo location changes



commit 68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95
Author:     Andrei Lifchits <andrei.lifchits@xxxxxxxxxx>
AuthorDate: Wed Feb 20 16:54:03 2013 +0000
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Fri Feb 22 16:39:41 2013 +0000

    build: Fix distclean when repo location changes
    
    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>
---
 stubdom/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stubdom/Makefile b/stubdom/Makefile
index fb981c1..ddb97f4 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -501,7 +501,7 @@ clean:
        $(MAKE) -C vtpmmgr clean
        rm -fr grub-$(XEN_TARGET_ARCH)
        rm -f $(STUBDOMPATH)
-       [ ! -d libxc-$(XEN_TARGET_ARCH) ] || $(MAKE) DESTDIR= -C 
libxc-$(XEN_TARGET_ARCH) clean
+       [ ! -e libxc-$(XEN_TARGET_ARCH)/Makefile ] || $(MAKE) DESTDIR= -C 
libxc-$(XEN_TARGET_ARCH) clean
        -[ ! -d ioemu ] || $(MAKE) DESTDIR= -C ioemu clean
        -[ ! -d xenstore ] || $(MAKE) DESTDIR= -C xenstore clean
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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