[gvfs/gdbus: 17/17] gdbus: Make sure to build autogenerated sources first



commit 97b8f81fabba7f0f2b1b8d0f57e96b9a6968c57c
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Thu Oct 27 16:02:07 2011 +0200

    gdbus: Make sure to build autogenerated	sources	first
    
    This would hopefully make autotools to compile generated sources in the
    first place so others would be able to include them. Found by accident
    and haven't been able to reproduce since.

 metadata/Makefile.am      |    2 ++
 monitor/proxy/Makefile.am |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/metadata/Makefile.am b/metadata/Makefile.am
index 1f59972..4bf2d04 100644
--- a/metadata/Makefile.am
+++ b/metadata/Makefile.am
@@ -1,6 +1,8 @@
 NULL =
 
 dbus_built_sources = metadata-dbus.c metadata-dbus.h
+BUILT_SOURCES = $(dbus_built_sources)
+
 $(dbus_built_sources) : Makefile.am dbus-interface.xml
 	gdbus-codegen						\
 		--interface-prefix org.gtk.vfs.			\
diff --git a/monitor/proxy/Makefile.am b/monitor/proxy/Makefile.am
index cc6c660..1c0fc7e 100644
--- a/monitor/proxy/Makefile.am
+++ b/monitor/proxy/Makefile.am
@@ -6,6 +6,8 @@ remote_volume_monitorsdir = $(datadir)/gvfs/remote-volume-monitors
 module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload|query)'
 
 dbus_built_sources = gvfsvolumemonitordbus.c gvfsvolumemonitordbus.h
+BUILT_SOURCES = $(dbus_built_sources)
+
 $(dbus_built_sources) : Makefile.am dbus-interfaces.xml
 	gdbus-codegen									\
 		--interface-prefix org.gtk.Private.					\



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