Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | From c587ec307a6259a990bfab727cea7db28dba4c23 Mon Sep 17 00:00:00 2001 |
| 2 | From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| 3 | Date: Wed, 6 Mar 2019 01:22:30 +0300 |
| 4 | Subject: [PATCH 3/4] ima-evm-utils: include hash-info.gen into distribution |
| 5 | |
| 6 | Include hash-info.gen into tarball and call it from the sourcedir to fix |
| 7 | out-of-tree build (and thus 'make distcheck'). |
| 8 | |
| 9 | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
| 10 | --- |
| 11 | src/Makefile.am | 3 ++- |
| 12 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/src/Makefile.am b/src/Makefile.am |
| 15 | index 164e7e4..9c037e2 100644 |
| 16 | --- a/src/Makefile.am |
| 17 | +++ b/src/Makefile.am |
| 18 | @@ -11,8 +11,9 @@ include_HEADERS = imaevm.h |
| 19 | |
| 20 | nodist_libimaevm_la_SOURCES = hash_info.h |
| 21 | BUILT_SOURCES = hash_info.h |
| 22 | +EXTRA_DIST = hash_info.gen |
| 23 | hash_info.h: Makefile |
| 24 | - ./hash_info.gen $(KERNEL_HEADERS) >$@ |
| 25 | + $(srcdir)/hash_info.gen $(KERNEL_HEADERS) >$@ |
| 26 | |
| 27 | bin_PROGRAMS = evmctl |
| 28 | |
| 29 | -- |
| 30 | 2.17.1 |
| 31 | |