bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] extract-automake-snippet libname fix


From: Oskar Liljeblad
Subject: [Bug-gnulib] extract-automake-snippet libname fix
Date: Thu, 26 Aug 2004 08:42:08 +0200
User-agent: Mutt/1.5.6+20040803i

Here's a patch to make it possible to use the --lib option
with --extract-automake-snippet.

Regards,

Oskar Liljeblad (address@hidden)

--- gnulib-tool 2004-08-25 17:08:32.000000000 +0200
+++ gnulib-tool.v0      2004-08-25 17:06:29.000000000 +0200
@@ -324,9 +324,7 @@
 # func_get_automake_snippet module
 func_get_automake_snippet ()
 {
-  cat "$gnulib_dir/modules/$1" |
-    sed -n -e "/^Makefile\.am$sed_extract_prog" |
-    sed -e "s,lib_SOURCES,$libname"'_a_SOURCES,g' -e 
"s,lib_OBJECTS,$libname"'_a_OBJECTS,g'
+  sed -n -e "/^Makefile\.am$sed_extract_prog" < "$gnulib_dir/modules/$1"
 }
 
 # func_get_include_directive module




reply via email to

[Prev in Thread] Current Thread [Next in Thread]