From 6d703f8db5d5a506f82f40a638560749755ddc6e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 23 Aug 2012 13:14:41 -0400 Subject: [PATCH] Make the _sha1.i file generation quieter --- src/common/include.am | 2 +- src/or/include.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/include.am b/src/common/include.am index 7bae31b994..116d26876e 100644 --- a/src/common/include.am +++ b/src/common/include.am @@ -59,7 +59,7 @@ noinst_HEADERS+= \ DISTCLEANFILES+= src/common/common_sha1.i src/common/common_sha1.i: $(libor_SOURCES) $(libor_crypto_a_SOURCES) $(noinst_HEADERS) - if test "@SHA1SUM@" != none; then \ + $(AM_V_GEN)if test "@SHA1SUM@" != none; then \ (cd "$(srcdir)" && "@SHA1SUM@" $(src_common_libor_SOURCES) $(src_common_libor_crypto_a_SOURCES) $(noinst_HEADERS)) | "@SED@" -n 's/^\(.*\)$$/"\1\\n"/p' > $@; \ elif test "@OPENSSL@" != none; then \ (cd "$(srcdir)" && "@OPENSSL@" sha1 $(src_common_libor_SOURCES) $(src_Common_libor_crypto_a_SOURCES) $(noinst_HEADERS)) | "@SED@" -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > $@; \ diff --git a/src/or/include.am b/src/or/include.am index ef5cda31b5..7c31b53b9c 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -144,7 +144,7 @@ src/or/micro-revision.i: FORCE fi; true src/or/or_sha1.i: $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES) - if test "@SHA1SUM@" != none; then \ + $(AM_V_GEN)if test "@SHA1SUM@" != none; then \ (cd "$(srcdir)" && "@SHA1SUM@" $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES)) | \ "@SED@" -n 's/^\(.*\)$$/"\1\\n"/p' > src/or/or_sha1.i; \ elif test "@OPENSSL@" != none; then \ @@ -157,4 +157,4 @@ src/or/or_sha1.i: $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES) CLEANFILES+= src/or/micro-revision.i -FORCE: \ No newline at end of file +FORCE: