diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2019-01-14 06:28:24 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2019-01-14 06:28:24 -0800 |
commit | b2956a147049cf72d9ece3ade2fc5b871c58596c (patch) | |
tree | a6cf64faf3caae9d8144f389d763a5ca30567698 | |
parent | b43aa9730169962709778a8823224ea71731bd80 (diff) | |
download | openssl_tpm2_engine-b2956a147049cf72d9ece3ade2fc5b871c58596c.tar.gz |
Add native build dependencies
certain steps in the build, like help2man to generate the man pages
assume the built binary can be executed on the platform. This is
untrue for a cross build, so detect native builds and only take the
execution steps for them.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8c24dbe..7d3b645 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,11 @@ -EXTRA_DIST = README openssl.cnf.sample create_tpm2_key.1 +EXTRA_DIST = README openssl.cnf.sample +if NATIVE_BUILD +EXTRA_DIST += create_tpm2_key.1 man1_MANS = create_tpm2_key.1 CLEANFILES = $(man1_MANS) +endif openssl_engine_LTLIBRARIES=libtpm2.la bin_PROGRAMS=create_tpm2_key |