summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
-rw-r--r--data/org.mate.Engrampa.service.in3
2 files changed, 11 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 62cb8c8..1b88d56 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,12 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
matchdir = $(datadir)/engrampa
match_DATA = packages.match
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.Engrampa.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+$(service_DATA): $(service_in_files) Makefile
+ $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = engrampa.appdata.xml.in
@@ -49,11 +55,13 @@ EXTRA_DIST = \
$(gsettingsschema_in_files) \
$(appdata_in_files) \
$(man_MANS) \
+ $(service_in_files) \
$(NULL)
DISTCLEANFILES = \
$(desktop_in_files) \
$(desktop_DATA) \
+ $(service_DATA) \
$(NULL)
CLEANFILES = \
diff --git a/data/org.mate.Engrampa.service.in b/data/org.mate.Engrampa.service.in
new file mode 100644
index 0000000..210cfe9
--- /dev/null
+++ b/data/org.mate.Engrampa.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.mate.Engrampa
+Exec=@libexecdir@/engrampa-server