aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorseb128 <seb128@seb128-laptop>2009-09-08 18:16:10 +0200
committerseb128 <seb128@seb128-laptop>2009-09-08 18:16:10 +0200
commitee56ebc0caaf8a8188e8eb01fbe23478a897a967 (patch)
tree8009e6c1bdce35069608aa21e17f00db35e75130 /data/Makefile.am
parent866bdf8a658e660e613f6943e2b23cea318843b5 (diff)
parent5360fce331660e7b94a274bffa125ba8233fbeab (diff)
downloadayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.gz
ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.bz2
ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.zip
releasing version 0.1.2-0ubuntu1
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am32
1 files changed, 30 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 434e7d6..9ba0d97 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,9 +9,37 @@ dbus_services_DATA = $(service_in_files:.service.in=.service)
%.service: %.service.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+##############################
+# GConf Schema
+##############################
+
+schemadir = \
+ $(GCONF_SCHEMA_FILE_DIR)
+
+schema_in_files = \
+ indicator-session.schemas.in
+
+schema_DATA = \
+ $(schema_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+
#$(dbus_services_DATA): $(service_in_files) Makefile
# sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
-EXTRA_DIST = $(service_in_files)
+EXTRA_DIST = \
+ $(service_in_files) \
+ $(schema_in_files)
+
+CLEANFILES = \
+ $(dbus_services_DATA) \
+ $(schema_DATA)
-CLEANFILES = $(dbus_services_DATA)
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
+ gconftool-2 --makefile-install-rule $(schema_DATA)
+else
+install-data-local:
+endif