Permalink
Browse files

Show message after installation of znc.service from $srcdir

  • Loading branch information...
1 parent 3d280b1 commit 701c0f3576effc8bee95fdfeb7ad53e2e49aaf50 @DarthGandalf DarthGandalf committed Sep 4, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 Makefile.in
View
@@ -131,6 +131,8 @@ install: znc $(LIBZNC)
$(INSTALL_PROGRAM) $(LIBZNC) $(DESTDIR)$(LIBZNCDIR) || exit 1 ; \
fi
@$(MAKE) -C man install DESTDIR=$(DESTDIR)
+ @HAVE_SYSTEMD_TRUE@test -d $(DESTDIR)$(systemdsystemunitdir) || $(INSTALL) -d $(DESTDIR)$(systemdsystemunitdir)
+ @HAVE_SYSTEMD_TRUE@$(INSTALL_DATA) $(srcdir)/znc.service $(DESTDIR)$(systemdsystemunitdir)
@echo ""
@echo "******************************************************************"
@echo " ZNC was successfully installed."
@@ -140,9 +142,6 @@ install: znc $(LIBZNC)
@echo " If you need help with using ZNC, please visit our wiki at:"
@echo " http://znc.in"
- @HAVE_SYSTEMD_TRUE@test -d $(DESTDIR)$(systemdsystemunitdir) || $(INSTALL) -d $(DESTDIR)$(systemdsystemunitdir)
- @HAVE_SYSTEMD_TRUE@$(INSTALL_DATA) znc.service $(DESTDIR)$(systemdsystemunitdir)
-
uninstall:
rm $(DESTDIR)$(bindir)/znc
rm $(DESTDIR)$(bindir)/znc-buildmod

0 comments on commit 701c0f3

Please sign in to comment.