[tor-commits] [tor/master] Make the _sha1.i file generation quieter

nickm at torproject.org nickm at torproject.org
Mon Aug 27 14:34:49 UTC 2012


commit 6d703f8db5d5a506f82f40a638560749755ddc6e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Aug 23 13:14:41 2012 -0400

    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 7bae31b..116d268 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 ef5cda3..7c31b53 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:





More information about the tor-commits mailing list