[PATCH] Makefile: Silence ln call in normal builds

4 views
Skip to first unread message

Jan Kiszka

unread,
Oct 15, 2021, 8:19:03 AM10/15/21
to efibootguard-dev
From: Jan Kiszka <jan.k...@siemens.com>

Pure cosmetics, but this avoids printing the full ln command while all
the rest is less chatty. make V=1 will still report it, though.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f000d73..3545ae2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -117,7 +117,7 @@ bg_setenv_DEPENDENCIES = \
libebgenv.a

install-exec-hook:
- $(LN_S) -f bg_setenv$(EXEEXT) \
+ $(AM_V_at)$(LN_S) -f bg_setenv$(EXEEXT) \
$(DESTDIR)$(bindir)/bg_printenv$(EXEEXT)
$(RM) $(DESTDIR)$(libdir)/$(lib_LTLIBRARIES)

@@ -248,7 +248,7 @@ $(top_builddir)/tools/bg_setenv-bg_setenv.o: $(GEN_VERSION_H)
bg_printenvdir = $(top_srcdir)

bg_printenv: $(bg_setenv)
- $(LN_S) -f bg_setenv bg_printenv
+ $(AM_V_at)$(LN_S) -f bg_setenv bg_printenv

all-local: bg_printenv

--
2.31.1

Hombourger, Cedric

unread,
Oct 15, 2021, 8:24:26 AM10/15/21
to efibootg...@googlegroups.com

On 10/15/2021 2:19 PM, Jan Kiszka wrote:
> From: Jan Kiszka <jan.k...@siemens.com>
>
> Pure cosmetics, but this avoids printing the full ln command while all
> the rest is less chatty. make V=1 will still report it, though.

Looks good to me
Reply all
Reply to author
Forward
0 new messages