emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make the compilation slightly less verbose?


From: Eli Zaretskii
Subject: Re: Make the compilation slightly less verbose?
Date: Sat, 15 Jun 2019 16:53:09 +0300

> From: Lars Ingebrigtsen <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Sat, 15 Jun 2019 15:29:39 +0200
> 
> 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

I think this should depend on V being equal or unequal to 0.  Because
one should be able to say "make V=0" and still have these messages
suppressed.

> $ 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?

Yes, but what happens if you say "V=0 make bootstrap"?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]