From fc7fa6774ad8e086849f04cc35f02c7873ff6dc2 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 5 Feb 2012 17:14:50 +0100 Subject: [PATCH] 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. --- libchimara/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2