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

2009-05-15 Thread Jürg Billeter
Hi Ralf, On Sat, 2009-05-09 at 19:51 +0200, Ralf Wildenhues wrote: > 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 > > w

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

2009-05-15 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 ++-- tests/vala2.test |4 2 file

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

2009-05-15 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 |

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

2009-05-15 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 ++ tests/vala2.test |6 ++ 2 files