summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-02-22 23:37:44 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-02-22 23:37:44 -0500
commit415aef2af3e8a7491ee0605f5082a696640680f8 (patch)
tree052cf5115a63c19b918b0e9b06169bee81e842cc /data
parentb76e3c666d1da08cc70bd09a293c2ed319861bcd (diff)
downloadnautilus-415aef2af3e8a7491ee0605f5082a696640680f8.tar.gz
dbus-manager: install a DBus service file
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am9
-rw-r--r--data/org.gnome.Nautilus.service.in3
2 files changed, 12 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6720abb10..6cc3fabee 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -14,6 +14,13 @@ desktop_in_files = \
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.gnome.Nautilus.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.gnome.Nautilus.service: org.gnome.Nautilus.service.in Makefile
+ $(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
+
nautilusdatadir = $(datadir)/nautilus
nautilusdata_DATA = \
@@ -28,10 +35,12 @@ EXTRA_DIST = $(nautilusdata_DATA) \
nautilus.css \
$(xml_in_files) \
$(desktop_in_files) \
+ $(service_in_files) \
$(NULL)
CLEANFILES = $(xml_files) \
$(desktop_DATA) \
+ $(service_DATA) \
$(NULL)
SUBDIRS = \
diff --git a/data/org.gnome.Nautilus.service.in b/data/org.gnome.Nautilus.service.in
new file mode 100644
index 000000000..46fd15267
--- /dev/null
+++ b/data/org.gnome.Nautilus.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.Nautilus
+Exec=@bindir@/nautilus --no-default-window \ No newline at end of file