From c564e252a0656682d8fbfbeefdd703eff2d844b2 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 5 Jul 2014 22:37:23 +0100 Subject: 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. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3