[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make the compilation slightly less verbose?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Make the compilation slightly less verbose? |
Date: |
Sat, 15 Jun 2019 15:29:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> 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
- Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/14
- Re: Make the compilation slightly less verbose?, Andreas Schwab, 2019/06/14
- Re: Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/14
- Re: Make the compilation slightly less verbose?, Eli Zaretskii, 2019/06/14
- Re: Make the compilation slightly less verbose?, Óscar Fuentes, 2019/06/14
- Re: Make the compilation slightly less verbose?, Alan Mackenzie, 2019/06/14
- Re: Make the compilation slightly less verbose?, Werner LEMBERG, 2019/06/14
- Re: Make the compilation slightly less verbose?, Eli Zaretskii, 2019/06/15
- Re: Make the compilation slightly less verbose?, Eli Zaretskii, 2019/06/15
- Re: Make the compilation slightly less verbose?, Stefan Monnier, 2019/06/15
- Re: Make the compilation slightly less verbose?,
Lars Ingebrigtsen <=
- Re: Make the compilation slightly less verbose?, Eli Zaretskii, 2019/06/15
- Re: Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/15
- Re: Make the compilation slightly less verbose?, Eli Zaretskii, 2019/06/15
- Re: Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/15
- Re: Make the compilation slightly less verbose?, Andreas Schwab, 2019/06/15
- Re: Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/16
- Re: Make the compilation slightly less verbose?, Stefan Monnier, 2019/06/14
- Re: Make the compilation slightly less verbose?, Paul Eggert, 2019/06/14
- Re: Make the compilation slightly less verbose?, David Ringo, 2019/06/14
- Re: Make the compilation slightly less verbose?, Lars Ingebrigtsen, 2019/06/15