From b2eca4e1cc89f0468aad579d0fd4b0f2ef6d34de Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 24 Oct 2017 19:55:36 +0200 Subject: Make systemd optional. If systemd is not available at build-time, the creation of the .service file is omitted. --- data/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 450e31c..ad47d60 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,6 +6,7 @@ EXTRA_DIST= # the systemd unit file # +#if defined(HAVE_SYSTEMD) systemddir = $(SYSTEMD_USERDIR) systemd_DATA = ayatana-indicator-printers.service systemd_in = $(systemd_DATA:.service=.service.in) @@ -22,6 +23,7 @@ CLEANFILES += $(systemd_DATA) upstart_overridedir = $(datadir)/upstart/systemd-session/upstart upstart_override_DATA = ayatana-indicator-printers.override EXTRA_DIST += $(upstart_override_DATA) +#endif # # the upstart job file -- cgit v1.2.3