From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Git help please - checking out old commit doesn't find lib/gnulib.mk.in. Date: Mon, 13 Nov 2017 03:34:59 +0100 Message-ID: <87lgjaucrw.fsf@wanadoo.es> References: <20171112180959.GB20916@ACM> <83inefmjuh.fsf@gnu.org> <20171112200651.GC20916@ACM> <83d14nmebn.fsf@gnu.org> <20171112215547.GD20916@ACM> <87po8nt5rt.fsf@wanadoo.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510540521 23705 195.159.176.226 (13 Nov 2017 02:35:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2017 02:35:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 03:35:14 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eE4ag-0005jr-FJ for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 03:35:14 +0100 Original-Received: from localhost ([::1]:52162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eE4an-0007EL-IG for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2017 21:35:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eE4ah-0007EF-TY for emacs-devel@gnu.org; Sun, 12 Nov 2017 21:35:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eE4ae-0007oP-Pi for emacs-devel@gnu.org; Sun, 12 Nov 2017 21:35:15 -0500 Original-Received: from [195.159.176.226] (port=33944 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eE4ae-0007n6-I2 for emacs-devel@gnu.org; Sun, 12 Nov 2017 21:35:12 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eE4aT-0005Ac-NP for emacs-devel@gnu.org; Mon, 13 Nov 2017 03:35:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:qtrHU7MHgmvGxjxDHuf/8ec6leA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220125 Archived-At: Stefan Monnier writes: >>> Why can Emacs not have a reliable way of cleaning up configuration and >>> build products (and _only_ these) such that a clean build can then be >>> done? >> How the Emacs build system could know the products generated of the >> future? Because this is the problem you faced. > > We don't need to solve this impossible problem. > Instead we just need to make a rule in GNUmakefile (which is not > autoconf-generated contrarily to Makefile) to remove all the > auto-generated files of the present. This works as long as we remember to remove the build products *before* we switch to another revision and then perform a full rebuild. A bit draconian.