From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: src/Makefile unhelpful Date: Wed, 14 Sep 2022 20:47:08 +0000 Message-ID: <2b58b8f5425fc083d4ad@heytings.org> References: <83bkrrj48w.fsf@gnu.org> <81B26ACA-E8C3-4FAC-9BB5-A6B40C3B4A55@gentoo.org> <83fsgya2yx.fsf@gnu.org> <875yhui674.fsf@gnus.org> <8735cy5dg9.fsf@yahoo.com> <83bkrj45lr.fsf@gnu.org> <87zgf12036.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Alfred M. Szmidt" , Eli Zaretskii , rms@gnu.org, luangruo@yahoo.com, sam@gentoo.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 14 22:48:10 2022 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 1oYZIn-00051A-OF for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Sep 2022 22:48:09 +0200 Original-Received: from localhost ([::1]:33664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYZIm-0006io-4U for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Sep 2022 16:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYZHt-00062Y-Bs for emacs-devel@gnu.org; Wed, 14 Sep 2022 16:47:13 -0400 Original-Received: from heytings.org ([95.142.160.155]:39684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYZHr-0001jr-Rl; Wed, 14 Sep 2022 16:47:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1663188429; bh=AN8d+6b6LttlRmwJerXJP6GXNtHDFJeMUdqM0VhzcU0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=X+4RziQk4AQ2Ys02aLZP+47gtXT7FF3A1UShDHkXl/OnMKC8jOXfBNrQ2DJitRwnQ TT66ztOrkZTFmwvf7j658qhtw5bISXgco2xIRfDyFXOuNsgYv9pzWaJaHNitN2tQc7 EG5xYMbpmm+K0uEylMbUJsb9eENVV5D5rJoVRn0aLP61MRFNincUlOieyAseAfUZ2y cNRt7dEc6fwTU09c3+/ORvEaI0T635iphTd7eB5DY/SCnFobnBvkS4RWeqD5yxqjJ5 VQkzuNLHhU316c2R/ur9kc0FtopG9G/ZxRE7Thsfxe88MhpE/4kXUGtBJsOfaf+Hvf EjKZlqYETNDPA== In-Reply-To: <87zgf12036.fsf@gnus.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:295367 Archived-At: > > I looked into this earlier -- I wanted it to say something like > "Consider trying "make bootstrap"" (because that'd save people a lot of > time -- reporting the build problem, only to have somebody say that to > them over mail), but I was unable to find a way to make (GNU) Make say > anything in particular on make failures. > > But this was a couple of years ago, and perhaps Make has grown this > capability now? Or I just missed it while reading the Make manual? > Anybody know? > Does the following do what you want? diff --git a/Makefile.in b/Makefile.in index d288bacb9d..67f19e7abd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -366,6 +366,12 @@ ELN_DESTDIR = gsettings_SCHEMAS = etc/org.gnu.emacs.defaults.gschema.xml +default: + $(MAKE) all || $(MAKE) signal_error + +signal_error: + @echo -e "\nConsider trying \"make bootstrap\"\n" + all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) src-depending-on-lisp .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 epaths-force-ns-self-contained etc-emacsver