projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71492bd
)
(func_emit_lib_Makefile_am): Shorten a long sed command.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 15 Dec 2004 22:31:01 +0000
(22:31 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 15 Dec 2004 22:31:01 +0000
(22:31 +0000)
gnulib-tool
patch
|
blob
|
history
diff --git
a/gnulib-tool
b/gnulib-tool
index 2d992bc9eb2ace4616d76372502595f33e0eb721..08890c8e7f794c7c1d26d54ad68d0a879f444e01 100755
(executable)
--- a/
gnulib-tool
+++ b/
gnulib-tool
@@
-22,7
+22,7
@@
progname=$0
package=gnulib
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2004-1
0-17 17:50:25
$'
+cvsdatestamp='$Date: 2004-1
2-15 22:31:01
$'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
@@
-455,7
+455,8
@@
func_emit_lib_Makefile_am ()
func_verify_module
if test -n "$module"; then
{
func_verify_module
if test -n "$module"; then
{
- func_get_automake_snippet "$module" | sed -e "s,lib_SOURCES,${libname}_${libext}_SOURCES,g" -e "s,lib_OBJECTS,${libname}_${libext}_OBJECTS,g"
+ func_get_automake_snippet "$module" |
+ sed -e 's,lib_\([A-Z][A-Z]*\),'"${libname}_${libext}"'_\1,g'
if test "$module" = 'alloca'; then
echo "${libname}_${libext}_LIBADD += @${perhapsLT}ALLOCA@"
fi
if test "$module" = 'alloca'; then
echo "${libname}_${libext}_LIBADD += @${perhapsLT}ALLOCA@"
fi