Received: from eggs.gnu.org ([2001:4830:134:3::10]:33145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPSwK-0002kE-7j for qemu-devel@nongnu.org; Mon, 17 Mar 2014 04:30:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPSwF-0005tW-BY for qemu-devel@nongnu.org; Mon, 17 Mar 2014 04:30:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPSwF-0005tN-33 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 04:30:27 -0400 From: Markus Armbruster References: <1394786300-18017-1-git-send-email-famz@redhat.com> <53234132.8040301@weilnetz.de> Date: Mon, 17 Mar 2014 09:30:17 +0100 In-Reply-To: <53234132.8040301@weilnetz.de> (Stefan Weil's message of "Fri, 14 Mar 2014 18:49:38 +0100") Message-ID: <87y509fcrq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Makefile: Don't find and delete when $(DSOSUF) is empty in "make clean" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , Fam Zheng , stefanha@redhat.com, qemu-devel@nongnu.org, Michael Roth , Anthony Liguori , Paolo Bonzini Stefan Weil writes: > Am 14.03.2014 09:38, schrieb Fam Zheng: >> DANGEROUS: don't try it before you read to the end. >> >> A first "make distclean" will unset $(DSOSUF), a following "make >> distclean" or "make clean" will find all the files and delete it. >> >> Including all the files in the .git directory! > > If you only use out-of-tree build, you are safe here. Maybe we should no > longer support in-tree builds. Personally, I nearly never use them. Same here. Building in-tree is calling for trouble. I'd support a patch that prevents it. [...]