From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie 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 19:27:04 +0000 Message-ID: <20171113192704.GB3952@ACM> References: <20171112180959.GB20916@ACM> <83inefmjuh.fsf@gnu.org> <20171112200651.GC20916@ACM> <83d14nmebn.fsf@gnu.org> <20171112215547.GD20916@ACM> <83a7zqn9d3.fsf@gnu.org> <20171113185343.GA3952@ACM> <83k1yukmy2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1510601717 4712 195.159.176.226 (13 Nov 2017 19:35:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2017 19:35:17 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 20:35:12 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 1eEKVi-0000nI-Dt for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 20:35:10 +0100 Original-Received: from localhost ([::1]:56058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKVo-0004Co-75 for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 14:35:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKPl-0007Hw-08 for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:29:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEKPh-0001MZ-SQ for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:29:01 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:63803 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1eEKPh-0001LT-ME for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:28:57 -0500 Original-Received: (qmail 68865 invoked by uid 3782); 13 Nov 2017 19:28:53 -0000 Original-Received: from acm.muc.de (p548C6984.dip0.t-ipconnect.de [84.140.105.132]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 13 Nov 2017 20:28:53 +0100 Original-Received: (qmail 29607 invoked by uid 1000); 13 Nov 2017 19:27:04 -0000 Content-Disposition: inline In-Reply-To: <83k1yukmy2.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 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:220152 Archived-At: Hello, Eli. On Mon, Nov 13, 2017 at 21:17:41 +0200, Eli Zaretskii wrote: > > Date: Mon, 13 Nov 2017 18:53:43 +0000 > > Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org > > From: Alan Mackenzie > > > > make clean and make distclean fail because around 12 files in m4/ > > > > are missing. > > > These targets should be invoked _before_ checking out another > > > revision, not after. Otherwise, you get a bunch of Makefile's that > > > are inconsistent with the working tree contents. > > Yes, that works better, thanks. But not perfectly. > You want extraclean instead, and if that isn't perfect either, it > needs to be fixed to remove whatever it fails to remove. > > make distclean is broken. > No, it isn't. "make distclean" is for when you build from a release > tarball, not when you build from Git after checking out a different > version of the tree. OK, let me correct that: "make distclean's documentation is unclear". It fails to state clearly what you've just said. But I'll have a go at make extraclean, now. -- Alan Mackenzie (Nuremberg, Germany).