From 1774707842f8f879562f9f3dba03b87e1cf8a06e Mon Sep 17 00:00:00 2001 From: David Freese Date: Fri, 2 Aug 2013 15:11:51 -0500 Subject: [PATCH] Automake bug * Versions 1.12, 1.13, 1.14xxx of Automake introduces a bug that precludes the use of $(srcdir) within the "TESTS = " line of a Makefile.am file. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index d3ae3b29..39a6b758 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -248,7 +248,8 @@ hamlib-static: $(fldigi_OBJECTS) endif endif -TESTS = $(srcdir)/../scripts/tests/config-h.sh $(srcdir)/../scripts/tests/cr.sh +tmp_srcdir_var=$(srcdir) +TESTS = $(tmp_srcdir_var)/../scripts/tests/config-h.sh $(tmp_srcdir_var)/../scripts/tests/cr.sh if HAVE_ASCIIDOC $(builddir)/../doc/guide.html: $(builddir)/../doc/guide.txt