summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <icq@gnome.org>2011-08-15 13:12:49 +0200
committerIgnacio Casal Quinteiro <icq@gnome.org>2011-08-15 13:12:49 +0200
commitd0a96a0a75f2bc969522abce2d326ef440cf143a (patch)
treef9200a8ac9f841dd0eb492b4c876ac3d6e14eeea
parent081dc2eb03b677eac9f08d3ad05deecc7c51554c (diff)
downloadpygobject-d0a96a0a75f2bc969522abce2d326ef440cf143a.tar.gz
Install pygobject.h again.
This is needed by libpeas.
-rw-r--r--gi/_gobject/Makefile.am5
-rw-r--r--pygobject-3.0-uninstalled.pc.in4
-rw-r--r--pygobject-3.0.pc.in6
3 files changed, 9 insertions, 6 deletions
diff --git a/gi/_gobject/Makefile.am b/gi/_gobject/Makefile.am
index 7e15d4c2..a31085f2 100644
--- a/gi/_gobject/Makefile.am
+++ b/gi/_gobject/Makefile.am
@@ -1,5 +1,8 @@
AUTOMAKE_OPTIONS = 1.7
-PLATFORM_VERSION = 2.0
+PLATFORM_VERSION = 3.0
+
+pkgincludedir = $(includedir)/pygobject-$(PLATFORM_VERSION)
+pkginclude_HEADERS = pygobject.h
pkgpyexecdir = $(pyexecdir)
diff --git a/pygobject-3.0-uninstalled.pc.in b/pygobject-3.0-uninstalled.pc.in
index 8dd5f383..5d969255 100644
--- a/pygobject-3.0-uninstalled.pc.in
+++ b/pygobject-3.0-uninstalled.pc.in
@@ -5,10 +5,10 @@ Requires.private: @LIBFFI_PC@
Version: @VERSION@
Cflags: -I${pc_top_builddir}/${pcfiledir}/gobject
-# you can use the --variable=pygtkincludedir argument to
+# you can use the --variable=pygobjectincludedir argument to
# pkg-config to get this value. You might want to use this to
# install additional headers.
-pygtkincludedir=${pc_top_builddir}/${pcfiledir}/gobject
+pygobjectincludedir=${pc_top_builddir}/${pcfiledir}/gobject
xslfiles=${pc_top_builddir}/${pcfiledir}/docs/xsl
# same here. Useful when calling the code generator in addon packages.
diff --git a/pygobject-3.0.pc.in b/pygobject-3.0.pc.in
index 2ae8ebf7..15672de7 100644
--- a/pygobject-3.0.pc.in
+++ b/pygobject-3.0.pc.in
@@ -5,10 +5,10 @@ datarootdir=@datarootdir@
datadir=@datadir@
libdir=@libdir@
-# you can use the --variable=pygtkincludedir argument to
+# you can use the --variable=pygobjectincludedir argument to
# pkg-config to get this value. You might want to use this to
# install additional headers.
-pygtkincludedir=${includedir}/pygtk-2.0
+pygobjectincludedir=${includedir}/pygobject-3.0
fixxref=${datadir}/pygobject/xsl/fixxref.py
pygdocs=${datadir}/gtk-doc/html/pygobject
defsdir=${datadir}/pygobject/2.0/defs
@@ -19,4 +19,4 @@ Description: Python bindings for GObject
Requires: gobject-2.0
Requires.private: @LIBFFI_PC@
Version: @VERSION@
-Cflags: -I${pygtkincludedir}
+Cflags: -I${pygobjectincludedir}