diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 51ed2dd..c040edb 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,6 +6,27 @@ EXTRA_DIST= SUBDIRS = upstart # +# the systemd unit file +# + +systemddir = $(SYSTEMD_USERDIR) +systemd_DATA = indicator-printers.service +systemd_in = $(systemd_DATA:.service=.service.in) +$(systemd_DATA): $(systemd_in) + $(AM_V_GEN) $(SED) -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ +BUILT_SOURCES += $(systemd_DATA) +EXTRA_DIST += $(systemd_in) +CLEANFILES += $(systemd_DATA) + +# +# the systemd upstart override +# + +upstart_overridedir = $(datadir)/upstart/systemd-session/upstart +upstart_override_DATA = indicator-printers.override +EXTRA_DIST += $(upstart_override_DATA) + +# # the upstart job file # |