aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 19:55:36 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 19:55:36 +0200
commitb2eca4e1cc89f0468aad579d0fd4b0f2ef6d34de (patch)
tree8f8927075cb565a0f45815f0fd738b8ca609dc81 /data
parent371130c883c42d8d33b07f351cdd59ef6f7acdb1 (diff)
downloadayatana-indicator-printers-b2eca4e1cc89f0468aad579d0fd4b0f2ef6d34de.tar.gz
ayatana-indicator-printers-b2eca4e1cc89f0468aad579d0fd4b0f2ef6d34de.tar.bz2
ayatana-indicator-printers-b2eca4e1cc89f0468aad579d0fd4b0f2ef6d34de.zip
Make systemd optional. If systemd is not available at build-time, the creation of the .service file is omitted.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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