diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2006-01-10 00:29:40 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2006-01-10 00:29:40 +0000 |
commit | f0e0251dd9b67acb856d2c9050c2972ae7940f17 (patch) | |
tree | 78dfd66ec659469db393b6f9303c387563fa1a91 /Makefile.am | |
parent | 792c9b8ccd603f66fd55fd6c28c88a368d133b59 (diff) | |
download | pygtk-f0e0251dd9b67acb856d2c9050c2972ae7940f17.tar.gz |
fix gobject includes and external pygobject detection
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index e76a4a56..5496b9ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,12 @@ EXTRA_DIST = \ PKG-INFO.in \ setup.py \ THREADS -INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) -I$(top_srcdir)/gobject +INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) +if BUILD_GOBJECT + INCLUDES += -I$(top_srcdir)/gobject +else + INCLUDES += -I$(PYGOBJECT_INCLUDEDIR) +endif # pkg-config files pkgconfigdir = $(libdir)/pkgconfig @@ -54,8 +59,8 @@ pyexec_LTLIBRARIES = noinst_PYTHON = ltihooks.py # pygtk scripts -if BUILD_GOBJECT pkgpythondir = $(pyexecdir)/gtk-2.0 +if BUILD_GOBJECT pkgpython_PYTHON = dsextras.py endif |