aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
authorAndrei Lifchits <andrei.lifchits@citrix.com>2013-02-20 16:54:03 +0000
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-02-22 16:39:41 +0000
commit68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95 (patch)
tree329853f99409514944e750bb27a81507f86f5643 /stubdom
parent4b5059be627aa68e5cd6ef344b21ce6743f3f9df (diff)
downloadxen-68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95.tar.gz
xen-68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95.tar.bz2
xen-68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95.zip
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@citrix.com>
Diffstat (limited to 'stubdom')
-rw-r--r--stubdom/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubdom/Makefile b/stubdom/Makefile
index fb981c1c1c..ddb97f4e9a 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