Re: [PATCH 3/3] Vala: Use $(srcdir) in rebuild rules

2009-05-09 Thread Ralf Wildenhues
Hi Jürg, * Jürg Billeter wrote on Sat, May 09, 2009 at 03:09:03PM CEST: > valac is always run in srcdir as the generated files are distributed. > So srcdir needs to be taken into account in the rebuild rules to not > wrongly trigger a rebuild in the wrong directory. Can you add (or amend current)

[PATCH 3/3] Vala: Use $(srcdir) in rebuild rules

2009-05-09 Thread Jürg Billeter
valac is always run in srcdir as the generated files are distributed. So srcdir needs to be taken into account in the rebuild rules to not wrongly trigger a rebuild in the wrong directory. Signed-off-by: Jürg Billeter --- automake.in | 12 ++-- 1 files changed, 6 insertions(+), 6 delet

[PATCH 2/3] Vala: Add rebuild rules for generated header and vapi files

2009-05-09 Thread Jürg Billeter
valac will generate additional files when using, for example, -H in VALAFLAGS. We need to recognize these options and add appropriate rebuild rules to fix parallel build. Signed-off-by: Jürg Billeter --- automake.in | 26 ++ 1 files changed, 26 insertions(+), 0 deletion

[PATCH 1/3] Vala: Fix build when using per-target VALAFLAGS

2009-05-09 Thread Jürg Billeter
This does not yet implement full per-target support for VALAFLAGS, however, this change at least fixes building when there is only one target per source file, which is the most common situation. Signed-off-by: Jürg Billeter --- automake.in | 19 ++- tests/Makefile.am |