summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2012-03-06 00:04:51 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-06 16:14:47 +0100
commitaeab15ec37370f3c3aa8b4e1a4aec480109a6803 (patch)
tree4c79d77e6f5b877208c0706f70f448a89e00dd62 /data
parent912a95b7ceb56e16854fa09af9c31cb33b6303ca (diff)
downloadtelepathy-account-widgets-aeab15ec37370f3c3aa8b4e1a4aec480109a6803.tar.gz
Run from the source directory without installing
Use the tools/empathy-env wrapper to set an appropriate environment and launch the compiled programs without installing them. https://bugzilla.gnome.org/show_bug.cgi?id=671447
Diffstat (limited to 'data')
-rw-r--r--data/.gitignore1
-rw-r--r--data/Makefile.am8
2 files changed, 9 insertions, 0 deletions
diff --git a/data/.gitignore b/data/.gitignore
index e004da8e..2c0f3322 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -2,6 +2,7 @@ empathy.desktop
empathy.desktop.in
org.gnome.Empathy.gschema.valid
org.gnome.Empathy.gschema.xml
+gschemas.compiled
org.freedesktop.Telepathy.Client.Empathy.Chat.service
org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service
org.freedesktop.Telepathy.Client.Empathy.Call.service
diff --git a/data/Makefile.am b/data/Makefile.am
index f3da574a..a2be750c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,6 +15,13 @@ gsettings_SCHEMAS = $(gsettings_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
+# We need to compile schemas at make time
+# to run from source tree
+gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid)
+ $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
+
+all-local: gschemas.compiled
+
convertdir = $(datarootdir)/GConf/gsettings
convert_DATA = \
empathy.convert
@@ -82,4 +89,5 @@ DISTCLEANFILES = \
$(schemas_DATA) \
$(servicefile_DATA) \
$(gsettings_SCHEMAS) \
+ gschemas.compiled \
$(NULL)