[gnutls-devel] [PATCH 6/8] guile: build: Make silent rules actually quiet.
Ludovic Courtès
ludo at gnu.org
Thu Feb 11 23:04:36 CET 2016
* guile/Makefile.am (.in.scm): Use $(AM_V_GEN) and $(AM_V_at).
* guile/src/Makefile.am (enums.h, enum-map.i.c)
(smobs.h, smob-types.i.c, %.x): Likewise.
---
guile/Makefile.am | 5 +++--
guile/src/Makefile.am | 20 ++++++++++----------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/guile/Makefile.am b/guile/Makefile.am
index 98ac7a1..90c2fe5 100644
--- a/guile/Makefile.am
+++ b/guile/Makefile.am
@@ -44,9 +44,10 @@ EXTRA_DIST += modules/gnutls.in $(helper_modules) $(documentation_modules)
CLEANFILES = modules/gnutls.scm
.in.scm:
- cat "$^" | $(SED) -e's|[@]guileextensiondir[@]|$(guileextensiondir)|g' \
+ $(AM_V_GEN)cat "$^" | \
+ $(SED) -e's|[@]guileextensiondir[@]|$(guileextensiondir)|g' \
> "$@.tmp"
- mv "$@.tmp" "$@"
+ $(AM_V_at)mv "$@.tmp" "$@"
#
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am
index 4149319..177a861 100644
--- a/guile/src/Makefile.am
+++ b/guile/src/Makefile.am
@@ -1,5 +1,5 @@
# GnuTLS --- Guile bindings for GnuTLS.
-# Copyright (C) 2007-2014 Free Software Foundation, Inc.
+# Copyright (C) 2007-2014, 2016 Free Software Foundation, Inc.
#
# GnuTLS is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -88,20 +88,20 @@ endif HAVE_GCC
enums.h: $(srcdir)/make-enum-header.scm
- $(GUILE_FOR_BUILD) "$^" > "$@.tmp"
- mv "$@.tmp" "$@"
+ $(AM_V_GEN)$(GUILE_FOR_BUILD) "$^" > "$@.tmp"
+ $(AM_V_at)mv "$@.tmp" "$@"
enum-map.i.c: $(srcdir)/make-enum-map.scm
- $(GUILE_FOR_BUILD) "$^" > "$@.tmp"
- mv "$@.tmp" "$@"
+ $(AM_V_GEN)$(GUILE_FOR_BUILD) "$^" > "$@.tmp"
+ $(AM_V_at)mv "$@.tmp" "$@"
smobs.h: $(srcdir)/make-smob-header.scm
- $(GUILE_FOR_BUILD) "$^" > "$@.tmp"
- mv "$@.tmp" "$@"
+ $(AM_V_GEN)$(GUILE_FOR_BUILD) "$^" > "$@.tmp"
+ $(AM_V_at)mv "$@.tmp" "$@"
smob-types.i.c: $(srcdir)/make-smob-types.scm
- $(GUILE_FOR_BUILD) "$^" > "$@.tmp"
- mv "$@.tmp" "$@"
+ $(AM_V_GEN)$(GUILE_FOR_BUILD) "$^" > "$@.tmp"
+ $(AM_V_at)mv "$@.tmp" "$@"
# C file snarfing.
@@ -115,7 +115,7 @@ snarfcppopts = $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
# prerequisites to be ignored:
# <http://lists.gnutls.org/pipermail/gnutls-devel/2013-September/006453.html>.
%.x: %.c $(GENERATED_BINDINGS)
- $(guile_snarf) -o $@ $< $(snarfcppopts)
+ $(AM_V_GEN)$(guile_snarf) -o $@ $< $(snarfcppopts)
# Target used by doc/Makefile, to create all built sources necessary
# for generating the manual.
--
2.6.3
More information about the Gnutls-devel
mailing list