diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-06-18 00:54:04 -0700 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-06-18 00:54:04 -0700 |
commit | eeedc5c13c51ea508280be7539a261520b715ff6 (patch) | |
tree | a4657c3a9f0a0fcce60bff8024b2c82ffb9cc1e2 /src/or/Makefile.am | |
parent | 85d4c290d79264d334baa9e5c8fdf3b06d0b3d79 (diff) | |
download | tor-eeedc5c13c51ea508280be7539a261520b715ff6.tar.gz tor-eeedc5c13c51ea508280be7539a261520b715ff6.zip |
Put hashes of all tor source files into or_sha1.i
Diffstat (limited to 'src/or/Makefile.am')
-rw-r--r-- | src/or/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am index a9ac3cdee1..8777639d4a 100644 --- a/src/or/Makefile.am +++ b/src/or/Makefile.am @@ -72,11 +72,13 @@ micro-revision.i: FORCE mv micro-revision.tmp micro-revision.i; \ fi; true -or_sha1.i: $(tor_SOURCES) +or_sha1.i: $(tor_SOURCES) $(libtor_a_SOURCES) if test "@SHA1SUM@" != none; then \ - @SHA1SUM@ $(tor_SOURCES) | @SED@ -n 's/^\(.*\)$$/"\1\\n"/p' > or_sha1.i; \ + @SHA1SUM@ $(tor_SOURCES) $(libtor_a_SOURCES) | \ + @SED@ -n 's/^\(.*\)$$/"\1\\n"/p' > or_sha1.i; \ elif test "@OPENSSL@" != none; then \ - @OPENSSL@ sha1 $(tor_SOURCES) | @SED@ -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > or_sha1.i; \ + @OPENSSL@ sha1 $(tor_SOURCES) $(libtor_a_SOURCES) | \ + @SED@ -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > or_sha1.i; \ else \ rm or_sha1.i; \ touch or_sha1.i; \ |