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:31:46 +0000 Message-ID: <20171113193146.GC3952@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> <9ba6a5a2-d829-ad98-44a5-88d0191f1edd@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1510601849 30389 195.159.176.226 (13 Nov 2017 19:37:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2017 19:37:29 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 20:37:26 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 1eEKXp-0007Sc-5m for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 20:37:21 +0100 Original-Received: from localhost ([::1]:56069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKXw-0006il-IR for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 14:37:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEKUH-0003D8-Hh for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:33:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEKUC-0003dQ-BA for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:33:41 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:63893 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1eEKUC-0003d9-4n for emacs-devel@gnu.org; Mon, 13 Nov 2017 14:33:36 -0500 Original-Received: (qmail 70983 invoked by uid 3782); 13 Nov 2017 19:33:35 -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:33:35 +0100 Original-Received: (qmail 29637 invoked by uid 1000); 13 Nov 2017 19:31:46 -0000 Content-Disposition: inline In-Reply-To: <9ba6a5a2-d829-ad98-44a5-88d0191f1edd@cs.ucla.edu> 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:220154 Archived-At: Hello, Paul. On Mon, Nov 13, 2017 at 11:13:53 -0800, Paul Eggert wrote: > On 11/13/2017 10:53 AM, Alan Mackenzie wrote: > > make distclean is broken. It purports to remove all files generated by > > "configuring or building the program". > The intent is that 'make distclean' gets you back to a distribution > tarball, if all you've done is 'configure; make'. But that doesn't seem > to be what you're asking for. If I understand you correctly, you want > something that gets you back to a fresh git checkout if all you've done > is './autogen.sh; ./configure; make', and since 'make distclean' doesn't > do what you're asking for, you're saying it's broken. If I'm right, it > would be more accurate to say that 'make distclean' is simply a tool > that doesn't do what you want. It's a tool that doesn't do what it says on the tin. What it says is: # make distclean # Delete all files from the current directory that are created by # configuring or building the program. If you have unpacked the # source and built the program without creating any other files, # 'make distclean' should leave only the files that were in the # distribution. What it doesn't say is "Delete all files ..... or building the program, which were created from an Emacs distribution." > Perhaps someone (you?) could implement a 'make gitclean' that does what > you want. Well, first I'll follow Eli's suggestion and try make extraclean. -- Alan Mackenzie (Nuremberg, Germany).