From: Keir Fraser Date: Fri, 1 Aug 2008 14:25:02 +0000 (+0100) Subject: stubdom: fix clean target after distclean X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14165^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=870fd5c7c92750f7507015ee70d263227b4e4fb1;p=xen.git stubdom: fix clean target after distclean Signed-off-by: Samuel Thibault --- diff --git a/stubdom/Makefile b/stubdom/Makefile index d6aa8c5940..f259079a9f 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -320,8 +320,8 @@ clean: $(MAKE) -C caml clean $(MAKE) -C c clean $(MAKE) -C grub clean - $(MAKE) -C libxc clean - $(MAKE) -C ioemu clean + [ ! -d libxc ] || $$(MAKE) -C libxc clean + [ ! -d ioemu ] || $$(MAKE) -C ioemu clean # clean the cross-compilation result .PHONY: crossclean