build: Fix .gir generation for parallel make
authorRyan Lortie <desrt@velocity.(none)>
Tue, 13 Nov 2012 16:50:14 +0000 (11:50 -0500)
committerDavid Zeuthen <zeuthen@gmail.com>
Tue, 13 Nov 2012 17:00:24 +0000 (12:00 -0500)
As per the intructions in the introspection Makefile, we should have a
line declaring a dependency between the .gir and .la files.

https://bugs.freedesktop.org/show_bug.cgi?id=57077

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
src/polkit/Makefile.am
src/polkitagent/Makefile.am

index 39d6d84..d648d29 100644 (file)
@@ -106,6 +106,8 @@ if HAVE_INTROSPECTION
 
 INTROSPECTION_GIRS = Polkit-1.0.gir
 
+Polkit-1.0.gir: libpolkit-gobject-1.la
+
 girdir = $(INTROSPECTION_GIRDIR)
 gir_DATA = Polkit-1.0.gir
 
index 1cfb73c..5b7d4c7 100644 (file)
@@ -108,6 +108,8 @@ if HAVE_INTROSPECTION
 girdir = $(INTROSPECTION_GIRDIR)
 gir_DATA = PolkitAgent-1.0.gir
 
+PolkitAgent-1.0.gir: libpolkit-agent-1.la
+
 typelibsdir = $(INTROSPECTION_TYPELIBDIR)
 typelibs_DATA = PolkitAgent-1.0.typelib