[folks] Ensure vapi files have an appropriate age.



commit 0e77c765488878e608906d0903a0c5dc000bc989
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Sun Nov 14 15:28:23 2010 -0800

    Ensure vapi files have an appropriate age.
    
    Vapigen doesn't update the age of vapi files if they don't change. This means
    that make will always generate them during distcheck, implicitly requiring
    vapigen.
    
    Helps bgo#633718.

 backends/telepathy/lib/Makefile.am          |    1 +
 tests/lib/telepathy/contactlist/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index b213fbb..f48821e 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -71,6 +71,7 @@ tp-lowlevel.vapi: tp-lowlevel.gir
 		--pkg gio-2.0 \
 		--pkg telepathy-glib \
 		tp-lowlevel.gir
+	touch $@
 
 ##################################################################
 # Support library
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index e5eab72..c2221a3 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -66,6 +66,7 @@ INTROSPECTION_GIRS += tp-test-contactlist.gir
 tp-test-contactlist.vapi: tp-test-contactlist.gir
 	$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) --library tp-test-contactlist \
 		tp-test-contactlist.gir
+	touch $@
 
 BUILT_SOURCES = \
 	tp-test-contactlist.gir \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]