From: Philip Chimento Date: Sun, 5 Feb 2012 16:14:50 +0000 (+0100) Subject: Prevent unnecessary regeneration of VAPI X-Git-Tag: v0.9~37 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=fc7fa6774ad8e086849f04cc35f02c7873ff6dc2;p=projects%2Fchimara%2Fchimara.git Prevent unnecessary regeneration of VAPI Vapigen doesn't update the timestamp of the VAPI file when the contents don't change; so when the GIR changes but the VAPI doesn't, the dependency tracking got confused. This updates the timestamp properly. --- diff --git a/libchimara/Makefile.am b/libchimara/Makefile.am index e823694..7b02980 100644 --- a/libchimara/Makefile.am +++ b/libchimara/Makefile.am @@ -109,8 +109,9 @@ vapidir = $(datadir)/vala/vapi dist_vapi_DATA = chimara.vapi if BUILDING_VAPI -chimara.vapi: Chimara-1.0.gir - $(AM_V_GEN)$(VAPIGEN) --library=chimara --pkg gtk+-2.0 Chimara-1.0.gir +chimara.vapi: $(INTROSPECTION_GIRS) + $(AM_V_GEN)$(VAPIGEN) --library=chimara --pkg gtk+-2.0 Chimara-1.0.gir && \ + touch $@ endif MAINTAINERCLEANFILES = chimara.vapi