[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH]: Missing tests-base in gnulib-cache.m4
From: |
Bruno Haible |
Subject: |
Re: [PATCH]: Missing tests-base in gnulib-cache.m4 |
Date: |
Thu, 25 Sep 2008 16:02:49 +0200 |
User-agent: |
KMail/1.5.4 |
Oops, the patch that I committed worked right in the second run, but not
in the first run. Fixed:
2008-09-25 Bruno Haible <address@hidden>
* gnulib-tool (func_import): When computing the edits, consider not
only the Makefile.ams that exist but also those that will be generated.
*** gnulib-tool.orig 2008-09-25 15:59:10.000000000 +0200
--- gnulib-tool 2008-09-25 15:57:51.000000000 +0200
***************
*** 2929,2940 ****
fi
func_note_Makefile_am_edit "" ACLOCAL_AMFLAGS "-I ${m4base}"
{
! # Find the first parent directory of $m4base that contains a Makefile.am.
sed_last='s,^.*/\([^/][^/]*\)//*$,\1/,
s,//*$,/,'
sed_butlast='s,[^/][^/]*//*$,,'
dir1="${m4base}/"; dir2=""
! while test -n "$dir1" && test ! -f "${destdir}/${dir1}Makefile.am"; do
dir2=`echo "$dir1" | sed -e "$sed_last"`"$dir2"
dir1=`echo "$dir1" | sed -e "$sed_butlast"`
done
--- 2929,2947 ----
fi
func_note_Makefile_am_edit "" ACLOCAL_AMFLAGS "-I ${m4base}"
{
! # Find the first parent directory of $m4base that contains or will contain
! # a Makefile.am.
sed_last='s,^.*/\([^/][^/]*\)//*$,\1/,
s,//*$,/,'
sed_butlast='s,[^/][^/]*//*$,,'
dir1="${m4base}/"; dir2=""
! while test -n "$dir1" \
! && ! { test -f "${destdir}/${dir1}Makefile.am" \
! || test "${dir1}Makefile.am" = "$sourcebase/$makefile_am" \
! || test "./${dir1}Makefile.am" = "$sourcebase/$makefile_am" \
! || { test -n "$inctests" \
! && { test "${dir1}Makefile.am" =
"$testsbase/$makefile_am" \
! || test "./${dir1}Makefile.am" =
"$testsbase/$makefile_am"; }; }; }; do
dir2=`echo "$dir1" | sed -e "$sed_last"`"$dir2"
dir1=`echo "$dir1" | sed -e "$sed_butlast"`
done
- Re: mingw and SIGPIPE, new modules 'sigpipe' and 'write' (5/7), (continued)
- Re: mingw and SIGPIPE, new modules 'sigpipe' and 'write' (5/7), Bruno Haible, 2008/09/26
- Re: mingw and SIGPIPE, new modules 'sigpipe' and 'write' (6/7), Bruno Haible, 2008/09/26
- Re: mingw and SIGPIPE, new modules 'sigpipe' and 'write' (7/7), Bruno Haible, 2008/09/26
- Re: mingw and SIGPIPE, new modules 'sigpipe' and 'write', Simon Josefsson, 2008/09/26
- Re: [PATCH]: Missing tests-base in gnulib-cache.m4, Yoann Vandoorselaere, 2008/09/25
- Re: [PATCH]: Missing tests-base in gnulib-cache.m4, Bruno Haible, 2008/09/25
- Re: [PATCH]: Missing tests-base in gnulib-cache.m4,
Bruno Haible <=