Changeset 12201


Ignore:
Timestamp:
Mar 21, 2011, 8:26:15 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) dbus tweaks in Makefile.am based on examples from http://live.gnome.org/DBusGlibBindings .

  1. tweak the way dbus-binding-tool is invoked... use --output=$@ $
  1. add the file generated by dbus-binding-tool to BUILT_SOURCES
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/Makefile.am

    r12068 r12201  
    6464
    6565dbus_generated_sources = tr-core-dbus.h
     66BUILT_SOURCES = $(dbus_generated_sources)
     67CLEANFILES = $(dbus_generated_sources)
    6668
    6769transmission_gtk_SOURCES = \
     
    130132    transmission-gtk.desktop
    131133
    132 CLEANFILES = $(dbus_generated_sources)
    133 
    134134$(srcdir)/tr-core.c: tr-core-dbus.h
    135135
    136136tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
    137         $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=gtr_core $< > $(@F)
     137        $(DBUS_BINDING_TOOL) --mode=glib-server --output=$@ --prefix=gtr_core $^
     138
    138139
    139140if WIN32
Note: See TracChangeset for help on using the changeset viewer.