]> git.proxmox.com Git - qemu.git/commitdiff
Build system fix distclean error for pixman
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>
Sat, 24 Nov 2012 09:27:18 +0000 (17:27 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 24 Nov 2012 20:03:04 +0000 (20:03 +0000)
  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 <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile

index 3e8d441637b069c4c1ca8dc832c88c8b9729c828..9ecbcbb0a7cd83f1b2139082e7788bd73e997c8f 100644 (file)
--- 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 \