Fix references to the build-aux directory in the generated tests/Makefile.am.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Dec 2007 11:06:35 +0000 (12:06 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Dec 2007 11:06:35 +0000 (12:06 +0100)
ChangeLog
gnulib-tool

index 43f9d50..f6366d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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
        introduced on 2006-09-09.
 
index b33a21a..a2c38c3 100755 (executable)
@@ -1883,7 +1883,8 @@ func_emit_tests_Makefile_am ()
   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"