Received: from eggs.gnu.org ([2001:4830:134:3::10]:50332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPpJw-0006wo-M1 for qemu-devel@nongnu.org; Tue, 18 Mar 2014 04:24:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPpJs-0000f0-9M for qemu-devel@nongnu.org; Tue, 18 Mar 2014 04:24:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPpJs-0000eq-1H for qemu-devel@nongnu.org; Tue, 18 Mar 2014 04:24:20 -0400 From: Markus Armbruster References: <1394786300-18017-1-git-send-email-famz@redhat.com> <53234132.8040301@weilnetz.de> <87y509fcrq.fsf@blackfin.pond.sub.org> <53274415.6050502@suse.de> Date: Tue, 18 Mar 2014 09:24:09 +0100 In-Reply-To: <53274415.6050502@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Mon, 17 Mar 2014 19:51:01 +0100") Message-ID: <87wqfrvrrq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Peter Maydell , Fam Zheng , Anthony Liguori , Stefan Weil , Michael Roth , qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini Andreas F=C3=A4rber writes: > Am 17.03.2014 09:30, schrieb Markus Armbruster: >> Stefan Weil writes: >>=20 >>> 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. >>=20 >> Same here. Building in-tree is calling for trouble. I'd support a >> patch that prevents it. > > What about disabling it only when .git/ is available? There seems > nothing wrong with doing one-time builds inside an extracted tarball on > central build servers; Except for this one: in-tree build will rot even faster. > most of the problems arise when building inside > the developer's git checkout. > > If we do drop support for building in-tree (always or with Git), we > could also drop most of the .gitignore clutter. :) Bonus!