From a85903ff80f9bfa6390069856a8ec706b0b5ad5a Mon Sep 17 00:00:00 2001 From: Wenchao Xia Date: Sat, 24 Nov 2012 17:27:18 +0800 Subject: [PATCH] Build system fix distclean error for pixman Currently Makefile test if pixman have configure log, but the script directly return error if that file do not exist. This patch fix it. Signed-off-by: Wenchao Xia Reviewed-by: Peter Maydell Reviewed-by: Stefan Hajnoczi Signed-off-by: Blue Swirl --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e8d441637..9ecbcbb0a7 100644 --- a/Makefile +++ b/Makefile @@ -286,7 +286,7 @@ distclean: clean for d in $(TARGET_DIRS) $(QEMULIBS); do \ rm -rf $$d || exit 1 ; \ done - test -f pixman/config.log && make -C pixman distclean + if test -f pixman/config.log; then make -C pixman distclean; fi KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ ar de en-us fi fr-be hr it lv nl pl ru th \