This forces automake to also copy the git_hash.sh script
when running make distcheck

Address bug https://bugs.linaro.org/show_bug.cgi?id=1603

Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu>
---
 Makefile.am         | 2 +-
 configure.ac        | 1 +
 scripts/Makefile.am | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 scripts/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index cff83f7..b9b2517 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 ACLOCAL_AMFLAGS=-I m4
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = doc platform example test helper
+SUBDIRS = doc platform example test helper scripts
 
 include $(top_srcdir)/aminclude.am
 
diff --git a/configure.ac b/configure.ac
index 59e9057..89b0846 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,6 +296,7 @@ AC_CONFIG_FILES([Makefile
                 pkgconfig/libodp.pc
                 platform/Makefile
                 platform/linux-generic/Makefile
+                scripts/Makefile
                 test/Makefile
                 test/api_test/Makefile
                 test/performance/Makefile
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
new file mode 100644
index 0000000..27ec6ab
--- /dev/null
+++ b/scripts/Makefile.am
@@ -0,0 +1 @@
+EXTRA_DIST = git_hash.sh
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to