aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-25 09:01:55 -0600
committerTed Gould <ted@gould.cx>2011-02-25 09:01:55 -0600
commitf143a8c10adc126aa89a01f2b8f9fdb156fa0a44 (patch)
tree84d404cc5984ae9882506aa0e27218d8fccc9ea4 /libdbusmenu-glib
parentf5ef3600b66047f13796972ee40acf7b50b81790 (diff)
downloadlibdbusmenu-f143a8c10adc126aa89a01f2b8f9fdb156fa0a44.tar.gz
libdbusmenu-f143a8c10adc126aa89a01f2b8f9fdb156fa0a44.tar.bz2
libdbusmenu-f143a8c10adc126aa89a01f2b8f9fdb156fa0a44.zip
Switching so that the GIR file is built from our exported H files and objects.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/Makefile.am14
1 files changed, 10 insertions, 4 deletions
diff --git a/libdbusmenu-glib/Makefile.am b/libdbusmenu-glib/Makefile.am
index 8b523aa..a04e286 100644
--- a/libdbusmenu-glib/Makefile.am
+++ b/libdbusmenu-glib/Makefile.am
@@ -17,12 +17,16 @@ lib_LTLIBRARIES = \
libdbusmenu_glibincludedir=$(includedir)/libdbusmenu-0.4/libdbusmenu-glib/
-libdbusmenu_glibinclude_HEADERS = \
- dbusmenu-glib.h \
+
+EXPORTED_OBJECTS = \
menuitem.h \
menuitem-proxy.h \
server.h \
- client.h \
+ client.h
+
+libdbusmenu_glibinclude_HEADERS = \
+ $(EXPORTED_OBJECTS) \
+ dbusmenu-glib.h \
types.h
libdbusmenu_glib_la_SOURCES = \
@@ -153,7 +157,9 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(builddir)
if HAVE_INTROSPECTION
-introspection_sources = $(libdbusmenu_glibinclude_HEADERS) $(libdbusmenu_glib_la_SOURCES)
+introspection_sources = \
+ $(libdbusmenu_glibinclude_HEADERS) \
+ $(EXPORTED_OBJECTS:.h=.c)
Dbusmenu-0.4.gir: libdbusmenu-glib.la
Dbusmenu_0_4_gir_INCLUDES = \