From: Wenchao Xia Date: Sat, 24 Nov 2012 09:27:18 +0000 (+0800) Subject: Build system fix distclean error for pixman X-Git-Tag: v1.3.0-rc1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a85903ff80f9bfa6390069856a8ec706b0b5ad5a;p=thirdparty%2Fqemu.git 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 --- diff --git a/Makefile b/Makefile index 3e8d441637b..9ecbcbb0a7c 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 \