429 |
# in `Makefile.am' for a `-I' argument. |
# in `Makefile.am' for a `-I' argument. |
430 |
|
|
431 |
my_sed_aclocal_flags='/^[[ ]]*ACLOCAL_[[A-Z_]]*FLAGS[[ ]]*=/ { |
my_sed_aclocal_flags='/^[[ ]]*ACLOCAL_[[A-Z_]]*FLAGS[[ ]]*=/ { |
432 |
s,^[[^=]]*=[[ ]]*\(.*\), \1,; q; }; d' |
s,^[[^=]]*=[[ ]]*\(.*\), \1,; q; }; |
433 |
|
d' |
434 |
if test ! -n "$m4dir" && test -f Makefile.am; then |
if test ! -n "$m4dir" && test -f Makefile.am; then |
435 |
my_m4dir_is_next=false |
my_m4dir_is_next=false |
436 |
for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do |
for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do |
481 |
my_macro_regex="$2" |
my_macro_regex="$2" |
482 |
my_sed_serial=['/^# serial [1-9][0-9.]*[ ]*'"$my_macro_regex"'[ ]*$/ { |
my_sed_serial=['/^# serial [1-9][0-9.]*[ ]*'"$my_macro_regex"'[ ]*$/ { |
483 |
s,^# serial \([1-9][0-9.]*\).*$,\1,; q; |
s,^# serial \([1-9][0-9.]*\).*$,\1,; q; |
484 |
}; d'] |
}; |
485 |
|
d'] |
486 |
|
|
487 |
# Search FILENAME and all the files it m4_includes for a serial number |
# Search FILENAME and all the files it m4_includes for a serial number |
488 |
# in the file that AC_DEFUNs MACRO_REGEX. |
# in the file that AC_DEFUNs MACRO_REGEX. |
700 |
$opt_debug |
$opt_debug |
701 |
my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ { |
my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ { |
702 |
s,^package_revision='\''*\([0-9.]*\)'\''[ ]*$,\1,; p; |
s,^package_revision='\''*\([0-9.]*\)'\''[ ]*$,\1,; p; |
703 |
}; d'] |
}; |
704 |
|
d'] |
705 |
|
|
706 |
func_keyword_update "$1" "$2" "$my_sed_ltmain" |
func_keyword_update "$1" "$2" "$my_sed_ltmain" |
707 |
} |
} |
717 |
|
|
718 |
my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ { |
my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ { |
719 |
s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p; |
s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p; |
720 |
}; d'] |
}; |
721 |
|
d'] |
722 |
|
|
723 |
func_keyword_update "$1" "$2" "$my_sed_config" |
func_keyword_update "$1" "$2" "$my_sed_config" |
724 |
} |
} |
732 |
$opt_debug |
$opt_debug |
733 |
my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ { |
my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ { |
734 |
s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p; |
s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p; |
735 |
}; d'] |
}; |
736 |
|
d'] |
737 |
|
|
738 |
func_keyword_update "$1" "$2" "$my_sed_install" |
func_keyword_update "$1" "$2" "$my_sed_install" |
739 |
} |
} |