Vala: Add and test rebuild rules for generated header and vapi files.
commitb9d837379de93389244d75dfbcb6d33ed66d4f9f
authorJürg Billeter <j@bitron.ch>
Fri, 15 May 2009 13:50:59 +0000 (15 15:50 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 17 May 2009 08:18:19 +0000 (17 10:18 +0200)
treea26b97e7bc400385ba63e673dd1ca8ac8519617b
parentb629ff7b3ed15c44147ebe87e1afb554f22e83a9
Vala: Add and test rebuild rules for generated header and vapi files.

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.

* automake.in (lang_vala_finish_target): Recognize -H, -h,
--header, --internal-header, --vapi, --internal-api, --gir flags
to valac and rebuild rules for generated headers; distribute
and maintainer-clean them.
* tests/vala2.test: Test rebuild rules.

Signed-off-by: Jürg Billeter <j@bitron.ch>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
automake.in
tests/vala2.test