From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: extraclean and admin/grammars [was Re: Git master head build failure?] Date: Thu, 01 Apr 2021 12:05:25 -0400 Message-ID: References: <875z16en2o.fsf@gmail.com> <83mtuih3en.fsf@gnu.org> <835z16gnkj.fsf@gnu.org> <83y2e2f22w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: theophilusx@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 01 18:06:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRzqO-0009IC-Ii for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Apr 2021 18:06:52 +0200 Original-Received: from localhost ([::1]:58696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRzqN-000857-II for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Apr 2021 12:06:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRzp9-0006T9-8e for emacs-devel@gnu.org; Thu, 01 Apr 2021 12:05:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57193) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRzp9-0006kU-0h; Thu, 01 Apr 2021 12:05:35 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lRzoz-0007wb-O2; Thu, 01 Apr 2021 12:05:28 -0400 X-Spook: sweep secure Panama Yakima Tsunami Warning Center X-Ran: 3~i>C!"RZdK^Jh5B4,5G>juz3Wbj8Ir,:mE/}}$Jy4pWS0r$}!,N`aNpv7;gS)^kyQ`*-f X-Hue: green X-Attribution: GM In-Reply-To: <83y2e2f22w.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Apr 2021 18:37:27 +0300") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267263 Archived-At: Eli Zaretskii wrote: > "make bootstrap" isn't for building from a pristine tree, that's not > its purpose. I consider that to be the purpose of bootstrap. I disagree with the description of extraclean as "and all generated files". Emacs use of extraclean is really an abuse - see comments in the top-level Makefile. IIRC, the only differences between extraclean and bootstrap-clean are: 1) bootstrap-clean does not delete the generated leim files. This is because they are slow to rebuild and the sources rarely change. 2) bootstrap-clean does not delete the generated semantic grammars. These are not slow to rebuild. As my comment in admin/grammars/Makefile.in says, these could easily be deleted in bootstrap-clean. I don't even really remember why I did it that way now. Since several people seem to have an issue lately with these files getting corrupted, I have a good mind to make that change.