summaryrefslogtreecommitdiffstats
path: root/glib
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-20 12:48:13 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-20 12:48:13 +0000
commit9cd866c9066eaa933b54e77225ada672fcfacad3 (patch)
tree25486f48cf8a267bdef8320e20d0385e41dbb1ac /glib
parent723d35fc2d1f65e3d040c3b61ada66d45b84a481 (diff)
downloadpygobject-9cd866c9066eaa933b54e77225ada672fcfacad3.tar.gz
pygobject-9cd866c9066eaa933b54e77225ada672fcfacad3.tar.xz
pygobject-9cd866c9066eaa933b54e77225ada672fcfacad3.zip
Install the glib module, the helper library and the headers. Use it from
2008-07-20 Johan Dahlin <johan@gnome.org> * glib/Makefile.am: * gobject/Makefile.am: * gobject/__init__.py: * gobject/gobjectmodule.c (pyg_threads_init), (pyg_error_check), (pyg_gerror_exception_check), (init_gobject): * gobject/option.py: Install the glib module, the helper library and the headers. Use it from gobject and remove the old glib specific code from there. svn path=/trunk/; revision=842
Diffstat (limited to 'glib')
-rw-r--r--glib/Makefile.am16
1 files changed, 11 insertions, 5 deletions
diff --git a/glib/Makefile.am b/glib/Makefile.am
index fcb5e76..f0160d8 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -1,11 +1,17 @@
AUTOMAKE_OPTIONS = 1.7
INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) -DPY_SSIZE_T_CLEAN
-# Workaround for automake so we can build shared library which are not
-# going to be installed
-noinstshared_LTLIBRARIES = libpyglib-2.0.la _glib.la
-noinstshareddir = /tmp
-install-noinstsharedLTLIBRARIES: # prevent it from being installed
+pkgincludedir = $(includedir)/pygtk-2.0
+pkginclude_HEADERS = pyglib.h
+
+lib_LTLIBRARIES = libpyglib-2.0.la
+
+pkgpyexecdir = $(pyexecdir)/gtk-2.0
+
+pyglibdir = $(pkgpyexecdir)/glib
+pyglib_PYTHON = \
+ __init__.py
+pyglib_LTLIBRARIES = _glib.la
common_ldflags = -module -avoid-version
if PLATFORM_WIN32