all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: acm@muc.de, schwab@linux-m68k.org, emacs-devel@gnu.org
Subject: Re: Make the compilation slightly less verbose?
Date: Sat, 15 Jun 2019 15:29:39 +0200	[thread overview]
Message-ID: <m3sgsb9dto.fsf@gnus.org> (raw)
In-Reply-To: <83lfy3wafz.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Jun 2019 10:54:08 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Please make the change be conditioned on the verbosity, i.e. I'd very
> much like it if "make V=1" would still emit these messages.

I seem to have almost completely successfully managed to suppress all my
knowledge I may once have had of how autoconf works, but...  Does this
look right?

diff --git a/src/Makefile.in b/src/Makefile.in
index be769458d3..b89a2f890e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -776,7 +776,12 @@ .PHONY:
 ## bootstrap-emacs$(EXEEXT) as an order-only prerequisite.
 
 %.elc: %.el | bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp)
+ifeq (@AM_V@,)
+	@$(MAKE) --no-print-directory\
+		-C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
+else
 	@$(MAKE) -C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
+endif
 
 ## VCSWITNESS points to the file that holds info about the current checkout.
 ## We use it as a heuristic to decide when to rebuild loaddefs.el.


$ V=1 make bootstrap

now gives me:

make[3]: Entering directory '/home/larsi/src/emacs/trunk/lisp'
EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'  \
	-l bytecomp -f byte-compile-refresh-preloaded \
	-f batch-byte-compile ../lisp/dos-w32.el
make[3]: Leaving directory '/home/larsi/src/emacs/trunk/lisp'
make[3]: Entering directory '/home/larsi/src/emacs/trunk/lisp'
EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'  \
	-l bytecomp -f byte-compile-refresh-preloaded \
	-f batch-byte-compile ../lisp/dynamic-setting.el
make[3]: Leaving directory '/home/larsi/src/emacs/trunk/lisp'

which is what it's supposed to be, I think?  Just "make bootstrap" gives
me:

  ELC      ../lisp/dos-w32.elc
  ELC      ../lisp/dynamic-setting.elc

so I think it works, but whether that's idiomatic use of the autoconf
machinery, I'm not sure...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  parent reply	other threads:[~2019-06-15 13:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 15:27 Make the compilation slightly less verbose? Lars Ingebrigtsen
2019-06-14 15:56 ` Andreas Schwab
2019-06-14 16:10   ` Lars Ingebrigtsen
2019-06-14 18:58     ` Eli Zaretskii
2019-06-14 19:28       ` Alan Mackenzie
2019-06-14 20:12         ` Werner LEMBERG
2019-06-15  6:00         ` Eli Zaretskii
2019-06-15  7:54           ` Eli Zaretskii
2019-06-15 10:58             ` Stefan Monnier
2019-06-15 13:29             ` Lars Ingebrigtsen [this message]
2019-06-15 13:53               ` Eli Zaretskii
2019-06-15 13:55                 ` Lars Ingebrigtsen
2019-06-15 14:16                   ` Eli Zaretskii
2019-06-15 14:21                     ` Lars Ingebrigtsen
2019-06-15 14:25               ` Andreas Schwab
2019-06-16 22:32                 ` Lars Ingebrigtsen
2019-06-14 19:35       ` Óscar Fuentes
2019-06-14 20:14       ` Stefan Monnier
2019-06-15  0:50         ` Paul Eggert
2019-06-14 20:13     ` David Ringo
2019-06-15 13:30       ` Lars Ingebrigtsen
2019-06-14 16:10 ` Eli Zaretskii
2019-06-14 17:24 ` Andy Moreton
2019-06-15 13:32   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3sgsb9dto.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.