[Xfce4-commits] <exo:versioning-from-0.3-to-1> Make Python bindings work again. pyexo.require('0.3') works with exo-1.

Jannis Pohlmann jannis at xfce.org
Thu Aug 13 02:12:02 CEST 2009


Updating branch refs/heads/versioning-from-0.3-to-1
         to 79ce003347ba5e4bb32a9f3c2cd93739fc07a0f3 (commit)
       from 1793ad0e2fc2a2407f5babfc3c6464bd4cf4c250 (commit)

commit 79ce003347ba5e4bb32a9f3c2cd93739fc07a0f3
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Thu Aug 13 02:10:39 2009 +0200

    Make Python bindings work again. pyexo.require('0.3') works with exo-1.

 python/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/Makefile.am b/python/Makefile.am
index b843ae3..7bdafe2 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -3,16 +3,16 @@
 SUBDIRS =								\
 	examples
 
-defsdir = $(datadir)/pygtk/2.0/defs/exo-1
+defsdir = $(datadir)/pygtk/2.0/defs/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)
 defs_DATA = exo.defs
 
 pyexodir = $(pythondir)
 pyexo_PYTHON = pyexo.py
 
-exomoduledir = $(pyexecdir)/exo-1/exo
+exomoduledir = $(pyexecdir)/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)/exo
 exomodule_PYTHON = __init__.py
 
-exobindingsdir = $(pyexecdir)/exo-1
+exobindingsdir = $(pyexecdir)/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)
 exobindings_LTLIBRARIES = _exo.la
 
 _exo_la_CFLAGS =							\
@@ -29,7 +29,7 @@ _exo_la_LDFLAGS =							\
 	-no-undefined
 
 _exo_la_LIBADD =							\
-	$(top_builddir)/exo/libexo-$(LIBEXO_VERSION_API).la					\
+	$(top_builddir)/exo/libexo-$(LIBEXO_VERSION_API).la		\
 	$(GTK_LIBS)							\
 	$(LIBXFCE4UTIL_LIBS)
 



More information about the Xfce4-commits mailing list