Subject: [PATCH] Emacs .elc byte compilation now respects silent rules
From: [email-masked]
To: [email-masked]
Date: Fri, 23 Sep 2022 13:29:09 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Emacs byte compilation now respects silent build rules (e.g. make V=0).

i.e. use AM_V_GEN to show this instead

     GEN      bar.elc

From 08056da08160eb6ea4ba8e2a75a5c78ec8813db5 Mon Sep 17 00:00:00 2001
From: Richard Hopkins <>
Date: Tue, 20 Sep 2022 22:19:42 +0100
Subject: [PATCH] Emacs .elc byte compilation now respects silent rules

* lib/am/lisp.am: Use $(AM_V_GEN) in .el.elc rule.

As the build output now respects silent rules the $(make V=0) output
is clearer and now shows...

    GEN      bar.elc
    GEN      foo.elc
---
 lib/am/lisp.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index b40251f62..77ada75cf 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -30,7 +30,7 @@ endif %?INSTALL%
 ## The destination file is normally determined by appending "c" to the
 ## input (which would erroneously put it in $(srcdir) in VPATH builds),
 ## so we override that, too.
-	if test '$(EMACS)' != no; then \
+	$(AM_V_GEN)if test '$(EMACS)' != no; then \
 	  am__dir=. am__subdir_includes=''; \
 	  case $@ in */*) \
 	    am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
-- 
2.37.3