bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Török Edwin
Hi, Whenever I move a C/C++ file from a directory to another (and update Makefile.am), a subsequent 'make' fails because it is looking for the file in the old place (the .Plo dependency file actually). For exampling moving test1/Foo.c to test2/Foo.c results in this error: make: *** No rule to

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Ralf Wildenhues
Hi Török, thanks for the bug report. * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: Whenever I move a C/C++ file from a directory to another (and update Makefile.am), a subsequent 'make' fails because it is looking for the file in the old place (the .Plo dependency file

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Török Edwin
On Thu, 11 Nov 2010 20:42:05 +0100 Ralf Wildenhues ralf.wildenh...@gmx.de wrote: Hi Török, thanks for the bug report. * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: Whenever I move a C/C++ file from a directory to another (and update Makefile.am), a subsequent 'make' fails

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Ralf Wildenhues
* Török Edwin wrote on Thu, Nov 11, 2010 at 09:10:56PM CET: On Thu, 11 Nov 2010 20:42:05 +0100 Ralf Wildenhues wrote: * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: I think that: - make clean should remove the dependency files if they're out of date/wrong That is

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Török Edwin
On Thu, 11 Nov 2010 21:38:01 +0100 Ralf Wildenhues ralf.wildenh...@gmx.de wrote: * Török Edwin wrote on Thu, Nov 11, 2010 at 09:10:56PM CET: On Thu, 11 Nov 2010 20:42:05 +0100 Ralf Wildenhues wrote: * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: I think that: - make

Re: [PATCH 1/7] Tests defs: various reorderings, some improvements.

2010-11-11 Thread Stefano Lattarini
On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 12:37:23AM CET: Well, the patch is almost just code reordering, with the very minor exceptions that: 1. in the older version, some error messages could be printed before `$me'

Re: [PATCH 6/7] Tests defs: new AC_SUBST'ed variable $top_testsbuilddir.

2010-11-11 Thread Stefano Lattarini
On Thursday 11 November 2010, Stefano Lattarini wrote: On Wednesday 10 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:21:09PM CET: * tests/defs.in ($top_testsbuilddir): New variable, initialized with the value AC_SUBST'ed from

Re: [PATCH 0/7] Refactoring of testcases initialization code

2010-11-11 Thread Stefano Lattarini
Hello automakers. On Sunday 07 November 2010, Stefano Lattarini wrote: Stefano Lattarini (7): Tests defs: various reorderings, some improvements. Tests defs: prefer $curdir over `pwd`. Tests defs: rename $curdir - $testbuilddir Tests defs: do not print message Running test $0

Re: [PATCH] Enable `set -e' in more tests (plus some tweakings).

2010-11-11 Thread Stefano Lattarini
Pinging this patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html I'll wait the customary 72 hours (until sunday evening) before pushing. Regards, Stefano

Re: [PATCH] Enable `set -e' in more tests (plus some tweakings).

2010-11-11 Thread Stefano Lattarini
Pinging this patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html I'll wait the customary 72 hours (until sunday evening) before pushing. Regards, Stefano

Re: [PATCH 1/7] Tests defs: various reorderings, some improvements.

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 01:00:47PM CET: On Thursday 11 November 2010, Ralf Wildenhues wrote: Thank for respinning. The patches are ok then, but I think you should take care that the newly-introduced `pwd` is replaced by the variable you later introduce for this

Re: [PATCH 0/7] Refactoring of testcases initialization code

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:41:40PM CET: On Sunday 07 November 2010, Stefano Lattarini wrote: Stefano Lattarini (7): Tests defs: various reorderings, some improvements. Tests defs: prefer $curdir over `pwd`. Tests defs: rename $curdir - $testbuilddir

Re: [PATCH] {tests-init} Tests defs: improve messages for skipped tests.

2010-11-11 Thread Stefano Lattarini
On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:52:06PM CET: Tests defs: improve messages for skipped tests. * tests/defs: Give meaningful messages about the reasons of a test skip; this is especially useful as this file is run

Re: [PATCH] {tests-init} Tests defs: improve messages for skipped tests.

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 09:10:39PM CET: On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:52:06PM CET: @@ -228,11 +229,16 @@ do (echo foo $priv_check_temp) /dev/null 21 overwrite_status=$?

Re: [PATCH] {tests-init} Tests defs: improve messages for skipped tests.

2010-11-11 Thread Stefano Lattarini
On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 09:10:39PM CET: On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:52:06PM CET: @@ -228,11 +229,16 @@ do (echo foo

Re: [PATCH] Minor improvements and extensions to various tests.

2010-11-11 Thread Stefano Lattarini
On Monday 08 November 2010, Stefano Lattarini wrote: Pinging this patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html There should be no need to rebase the patch (which is based off of maint), so that I should just be able to merge it into

Re: [PATCH] {maint} Improve and extend tests `man*.test'.

2010-11-11 Thread Stefano Lattarini
On Monday 08 November 2010, Stefano Lattarini wrote: Pinging this patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html Merged to master, and pushed. Regards, Stefano

Re: Two questions: warning: macro `AM_CPPFLAGS' not found in library and how to assign values?

2010-11-11 Thread Stefano Lattarini
On Thursday 11 November 2010, Joost Kraaijeveld wrote: Hi, Hello Joost. Sorry if I start my answer with criticism, but this subject ... Two questions: warning: macro `AM_CPPFLAGS' not found in library and how to assign values? ... already tells me that you should have presented your questions

Re: Two questions: warning: macro `AM_CPPFLAGS' not found in library and how to assign values?

2010-11-11 Thread Joost Kraaijeveld
Hi Stefano, Thanks for you answer. You have solved all my Autotools problems for the time being. So it helped. -- Met vriendelijke groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl signature.asc

Re: execvp: /bin/sh: Argument list too long

2010-11-11 Thread Ralf Wildenhues
Hello Pippijn, * Pippijn van Steenhoven wrote on Mon, Nov 08, 2010 at 10:11:20PM CET: On Mon, Nov 08, 2010 at 09:56:52PM +0100, Ralf Wildenhues wrote: [1] On some systems this is not true; e.g., GNU make evades the limit on MSYS for this particular point, IIRC using a response file. Can

AM_V_GEN - better docs

2010-11-11 Thread Patrick Rutkowski
The page here mentions the existence of AM_V_GEN: http://www.gnu.org/software/hello/manual/automake/Options.html But, form the perspective of an automake newbie, it doesn't do much more than just mention that it's there. I don't get from that page how to apply to all my $(CC) build commands,