empathy r2372 - in trunk: data python/pyempathy python/pyempathygtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2372 - in trunk: data python/pyempathy python/pyempathygtk
- Date: Mon, 2 Feb 2009 20:10:06 +0000 (UTC)
Author: xclaesse
Date: Mon Feb 2 20:10:06 2009
New Revision: 2372
URL: http://svn.gnome.org/viewvc/empathy?rev=2372&view=rev
Log:
Allow Empathy to be built from outside the source tree.
Patch by Theppitak Karoonboonyanan, fix bug #570080.
Modified:
trunk/data/Makefile.am
trunk/python/pyempathy/Makefile.am
trunk/python/pyempathygtk/Makefile.am
Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am (original)
+++ trunk/data/Makefile.am Mon Feb 2 20:10:06 2009
@@ -33,7 +33,7 @@
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(builddir)/$$p ; \
done \
fi
else
Modified: trunk/python/pyempathy/Makefile.am
==============================================================================
--- trunk/python/pyempathy/Makefile.am (original)
+++ trunk/python/pyempathy/Makefile.am Mon Feb 2 20:10:06 2009
@@ -3,6 +3,7 @@
AM_CPPFLAGS = \
-I. \
-I$(top_srcdir)/libempathy \
+ -I$(top_builddir)/libempathy \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
@@ -16,7 +17,9 @@
pyempathy_LTLIBRARIES = empathy.la
empathy_la_SOURCES = \
- pyempathymodule.c \
+ pyempathymodule.c
+
+nodist_empathy_la_SOURCES = \
pyempathy.c
empathy_la_LIBADD = \
@@ -31,8 +34,8 @@
--prefix empathy \
--register $(PYDEFS)/gdk-types.defs \
--register $(PYDEFS)/gtk-types.defs \
- --override pyempathy.override \
- pyempathy.defs > $@
+ --override $(srcdir)/pyempathy.override \
+ $(srcdir)/pyempathy.defs > $@
EXTRA_DIST = \
pyempathy.override \
Modified: trunk/python/pyempathygtk/Makefile.am
==============================================================================
--- trunk/python/pyempathygtk/Makefile.am (original)
+++ trunk/python/pyempathygtk/Makefile.am Mon Feb 2 20:10:06 2009
@@ -3,6 +3,7 @@
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 @@
pyempathygtk_LTLIBRARIES = empathygtk.la
empathygtk_la_SOURCES = \
- pyempathygtkmodule.c \
+ pyempathygtkmodule.c
+
+nodist_empathygtk_la_SOURCES = \
pyempathygtk.c
empathygtk_la_LIBADD = \
@@ -31,9 +34,9 @@
--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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]