aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-06 11:53:45 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-06 11:53:45 +0200
commit2c6c3adc1871735f72eb48bda3fdf600d79b6d0a (patch)
tree313521fc1b4112c2a2a9b0ce37395b1355f193b8 /data
parentc21840eac4a4147e0eca930d8814ab6569cc1262 (diff)
downloadayatana-indicator-application-2c6c3adc1871735f72eb48bda3fdf600d79b6d0a.tar.gz
ayatana-indicator-application-2c6c3adc1871735f72eb48bda3fdf600d79b6d0a.tar.bz2
ayatana-indicator-application-2c6c3adc1871735f72eb48bda3fdf600d79b6d0a.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.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f7cc652..96abc17 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,11 +16,13 @@ xdg_autostart_DATA = ayatana-indicator-application.desktop
overridedir = $(pkgdatadir)
override_DATA = ordering-override.keyfile
+#if defined(HAVE_SYSTEMD)
%.service: %.service.in
$(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
-
+
systemddir = $(SYSTEMD_USERDIR)
systemd_DATA = ayatana-indicator-application.service
+#endif
upstartsystemdoverridedir = $(datadir)/upstart/systemd-session/upstart
upstartsystemdoverride_DATA = ayatana-indicator-application.override