mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Make the _sha1.i file generation quieter
This commit is contained in:
parent
3f66664935
commit
6d703f8db5
@ -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' > $@; \
|
||||
|
@ -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:
|
||||
FORCE:
|
||||
|
Loading…
Reference in New Issue
Block a user