summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@velocity.(none)>2012-11-13 11:50:14 -0500
committerDavid Zeuthen <zeuthen@gmail.com>2012-11-13 12:00:24 -0500
commit7bd30764a5230684c7c979a08a83dfa6e327f719 (patch)
treeb62c19e095176d015be07e17652b2be7c8e76422
parent59f2d96ce3ac63173669f299a9453a7bf5e70a70 (diff)
downloadpolkit-7bd30764a5230684c7c979a08a83dfa6e327f719.tar.gz
build: Fix .gir generation for parallel make
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>
-rw-r--r--src/polkit/Makefile.am2
-rw-r--r--src/polkitagent/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/polkit/Makefile.am b/src/polkit/Makefile.am
index 39d6d84..d648d29 100644
--- a/src/polkit/Makefile.am
+++ b/src/polkit/Makefile.am
@@ -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
diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
index 1cfb73c..5b7d4c7 100644
--- a/src/polkitagent/Makefile.am
+++ b/src/polkitagent/Makefile.am
@@ -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