summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-23 22:02:09 +0100
committerStefano Karapetsas <[email protected]>2013-02-23 22:02:09 +0100
commitd1715e4fdef385cea4eda116090311dcff9fcd18 (patch)
tree1c86cab85e0e254924edb953560cac3a94626521 /data/Makefile.am
parente99cd96502845cce688ee4f545eb4a4f2edfb23a (diff)
downloadcaja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.bz2
caja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.xz
Add support for freedesktop.org File Manager DBus Interface
http://www.freedesktop.org/wiki/Specifications/file-manager-interface Most of code is adapted from Nautilus: http://git.gnome.org/browse/nautilus/tree/src/nautilus-freedesktop-dbus.c Closes https://github.com/mate-desktop/mate-file-manager/issues/3
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 0e8fb977..bee031c1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -19,6 +19,14 @@ desktop_in_files = \
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
+servicedir = $(datadir)/dbus-1/services
+service_DATA = $(service_in_files:.service.in=.service)
+service_in_files = \
+ org.mate.freedesktop.FileManager1.service.in
+
+org.mate.freedesktop.FileManager1.service: org.mate.freedesktop.FileManager1.service.in Makefile
+ $(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
+
cajadatadir = $(datadir)/caja
cajadata_DATA = \
@@ -30,6 +38,7 @@ cajadata_DATA = \
EXTRA_DIST = $(cajadata_DATA) \
caja.desktop \
caja.desktop.in \
+ freedesktop-dbus-interfaces.xml \
$(xml_in_files) \
$(desktop_in_files) \
$(NULL)