aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-25 16:27:11 +0000
committerTarmac <Unknown>2014-02-25 16:27:11 +0000
commit464ad34b13d3ef60265b6c22bdf608bab334309a (patch)
tree5cde744452847515406e3210d41d005f57b2da4d /data/Makefile.am
parent4a7d3578994939cfcf1e3c0f4eb213d2f97d9496 (diff)
parent2fa7d7ac75aabdb501c700679a995d0a32691b80 (diff)
downloadayatana-indicator-printers-464ad34b13d3ef60265b6c22bdf608bab334309a.tar.gz
ayatana-indicator-printers-464ad34b13d3ef60265b6c22bdf608bab334309a.tar.bz2
ayatana-indicator-printers-464ad34b13d3ef60265b6c22bdf608bab334309a.zip
Synchronize process management across indicators.
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am35
1 files changed, 29 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 133a853..51ed2dd 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,11 +1,34 @@
-dbus_servicesdir = $(DBUSSERVICEDIR)
-dbus_services_DATA = indicator-printers.service
+BUILT_SOURCES=
+CLEANFILES=
+EXTRA_DIST=
-%.service: %.service.in
- sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+SUBDIRS = upstart
-EXTRA_DIST = indicator-printers.service.in
+#
+# the upstart job file
+#
+
+upstart_jobsdir = $(datadir)/upstart/sessions
+upstart_jobs_DATA = indicator-printers.conf
+upstart_jobs_in = $(upstart_jobs_DATA:.conf=.conf.in)
+$(upstart_jobs_DATA): $(upstart_jobs_in)
+ $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+BUILT_SOURCES += $(upstart_jobs_DATA)
+CLEANFILES += $(upstart_jobs_DATA)
+EXTRA_DIST += $(upstart_jobs_in)
+
+#
+# the xdg autostart job file
+#
+
+xdg_autostartdir = /etc/xdg/autostart
+xdg_autostart_DATA = indicator-printers.desktop
+xdg_autostart_in = $(xdg_autostart_DATA:.desktop=.desktop.in)
+$(xdg_autostart_DATA): $(xdg_autostart_in)
+ $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+BUILT_SOURCES += $(xdg_autostart_DATA)
+CLEANFILES += $(xdg_autostart_DATA)
+EXTRA_DIST += $(xdg_autostart_in)
-CLEANFILES = $(dbus_services_DATA)