changeset 29206:c787ec92c3e4

Fix references to the build-aux directory in the generated tests/Makefile.am.
author Bruno Haible <bruno@clisp.org>
date Mon, 10 Dec 2007 12:06:35 +0100
parents be3186c70947
children 4717dc158f28
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 10 12:03:15 2007 +0100
+++ b/ChangeLog	Mon Dec 10 12:06:35 2007 +0100
@@ -1,3 +1,8 @@
+2007-12-09  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_emit_tests_Makefile_am): Expand references to
+	the build-aux directory.
+
 2007-12-09  Bruno Haible  <bruno@clisp.org>
 
 	* gnulib-tool (func_emit_tests_Makefile_am): Remove redundant code
--- a/gnulib-tool	Mon Dec 10 12:03:15 2007 +0100
+++ b/gnulib-tool	Mon Dec 10 12:06:35 2007 +0100
@@ -1883,7 +1883,8 @@
   echo
   echo "LDADD = ${testsbase_inverse}/${sourcebase-lib}/${libname}.${libext}"
   echo
-  cat allsnippets.tmp
+  cat allsnippets.tmp \
+    | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
   echo "# Clean up after Solaris cc."
   echo "clean-local:"
   echo "	rm -rf SunWS_cache"