blob: 3d250d2fca5dc1f24a5289b9cc0a9c427442cb6a [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From c587ec307a6259a990bfab727cea7db28dba4c23 Mon Sep 17 00:00:00 2001
2From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
3Date: Wed, 6 Mar 2019 01:22:30 +0300
4Subject: [PATCH 3/4] ima-evm-utils: include hash-info.gen into distribution
5
6Include hash-info.gen into tarball and call it from the sourcedir to fix
7out-of-tree build (and thus 'make distcheck').
8
9Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
10---
11 src/Makefile.am | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/src/Makefile.am b/src/Makefile.am
15index 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--
302.17.1
31