aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2014-07-05 22:37:23 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2014-07-05 22:37:23 +0100
commitc564e252a0656682d8fbfbeefdd703eff2d844b2 (patch)
tree446ff3a1cbf81e71d8d575d7e7c2e5489fab8e6d
parent0edb57f7d14c2916979f6d77f06ea82843703f90 (diff)
Nope, do not install systemd stuff by default. Remove it from the install:
dependencies and tell the user to run "make install-systemd" in cases where this seems useful.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13acf611..750f97f2 100644
--- a/Makefile
+++ b/Makefile
@@ -37,9 +37,12 @@ doc:
uninstall: uninstall-bin uninstall-doc
@echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
-install: install-bin install-doc install-plugins install-systemd
+install: install-bin install-doc install-plugins
@if ! [ -d $(DESTDIR)$(CONFIG) ]; then echo -e '\nThe configuration directory $(DESTDIR)$(CONFIG) does not exist yet, don'\''t forget to create it!'; fi
@if ! [ -e $(DESTDIR)$(ETCDIR)/bitlbee.conf ]; then echo -e '\nNo files are installed in '$(DESTDIR)$(ETCDIR)' by make install. Run make install-etc to do that.'; fi
+ifdef SYSTEMDSYSTEMUNITDIR
+ @echo If you want to start BitlBee using systemd, try \"make install-systemd\".
+endif
@echo
.PHONY: install install-bin install-etc install-doc install-plugins install-systemd \