From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZE9J-000267-C5 for qemu-devel@nongnu.org; Fri, 16 Nov 2012 00:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZE9G-0004lF-Ak for qemu-devel@nongnu.org; Fri, 16 Nov 2012 00:07:29 -0500 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:48420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZE9F-0004ky-IR for qemu-devel@nongnu.org; Fri, 16 Nov 2012 00:07:26 -0500 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Nov 2012 15:05:12 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qAG57JKe65732638 for ; Fri, 16 Nov 2012 16:07:20 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qAG57IeV022407 for ; Fri, 16 Nov 2012 16:07:19 +1100 From: Wenchao Xia Date: Fri, 16 Nov 2012 13:05:16 +0800 Message-Id: <1353042317-13688-2-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1353042317-13688-1-git-send-email-xiawenc@linux.vnet.ibm.com> References: <1353042317-13688-1-git-send-email-xiawenc@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 1/2] Buildsystem fix distclean error in pixman List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com, blauwirbel@gmail.com, pbonzini@redhat.com, Wenchao Xia Currently if pixman have no config.log inside, make file still try to clean it resulting error. This patch fix it. Signed-off-by: Wenchao Xia --- Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 81c660f..f40885b 100644 --- a/Makefile +++ b/Makefile @@ -278,7 +278,10 @@ 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 \ -- 1.7.1