From 68aa9a0bde132d4cee340b4e17d88fbaf2b2aa95 Mon Sep 17 00:00:00 2001 From: Andrei Lifchits Date: Wed, 20 Feb 2013 16:54:03 +0000 Subject: 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 --- stubdom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stubdom') 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 -- cgit v1.2.3