aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-02-03 04:10:06 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-03 04:10:06 +0800
commit4be89d9fab208320c3df9d81334f8d1e9c390f7b (patch)
treee29ca490d0778df5e931b6a74558f045bcd58b85 /python/pyempathygtk
parent4d7df20da0eec9c250aa4afeefa4f8a26bd35240 (diff)
downloadgsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar.gz
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar.bz2
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar.lz
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar.xz
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.tar.zst
gsoc2013-empathy-4be89d9fab208320c3df9d81334f8d1e9c390f7b.zip
Allow Empathy to be built from outside the source tree.
Patch by Theppitak Karoonboonyanan, fix bug #570080. svn path=/trunk/; revision=2372
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/python/pyempathygtk/Makefile.am b/python/pyempathygtk/Makefile.am
index d44e1f4ab..ba0ee11df 100644
--- a/python/pyempathygtk/Makefile.am
+++ b/python/pyempathygtk/Makefile.am
@@ -3,6 +3,7 @@ PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/libempathy-gtk \
+ -I$(top_builddir)/libempathy-gtk \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
@@ -15,7 +16,9 @@ pyempathygtkdir = $(pyexecdir)
pyempathygtk_LTLIBRARIES = empathygtk.la
empathygtk_la_SOURCES = \
- pyempathygtkmodule.c \
+ pyempathygtkmodule.c
+
+nodist_empathygtk_la_SOURCES = \
pyempathygtk.c
empathygtk_la_LIBADD = \
@@ -31,9 +34,9 @@ pyempathygtk.c: pyempathygtk.override pyempathygtk.defs
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \
- --register ../pyempathy/pyempathy.defs \
- --override pyempathygtk.override \
- pyempathygtk.defs > $@
+ --register $(srcdir)/../pyempathy/pyempathy.defs \
+ --override $(srcdir)/pyempathygtk.override \
+ $(srcdir)/pyempathygtk.defs > $@
EXTRA_DIST = \
pyempathygtk.override \