Merge pull request #1184 from TingPing/tingping/servicefile

Fix bindir in service file
This commit is contained in:
Alexey Sokolov
2015-11-15 23:34:38 +00:00
2 changed files with 6 additions and 2 deletions

View File

@@ -194,7 +194,12 @@ third_party/Csocket/Csocket.h third_party/Csocket/Csocket.cc:
@exit 1
endif
install: znc $(LIBZNC)
znc.service: znc.service.in
@sed -e "s:\@bindir\@:$(bindir):" $^ > $@
CLEAN += znc.service
install: znc znc.service $(LIBZNC)
test -d $(DESTDIR)$(bindir) || $(INSTALL) -d $(DESTDIR)$(bindir)
test -d $(DESTDIR)$(includedir)/znc || $(INSTALL) -d $(DESTDIR)$(includedir)/znc
test -d $(DESTDIR)$(PKGCONFIGDIR) || $(INSTALL) -d $(DESTDIR)$(PKGCONFIGDIR)

View File

@@ -695,7 +695,6 @@ AC_CONFIG_FILES([znc-buildmod])
AC_CONFIG_FILES([man/Makefile])
AC_CONFIG_FILES([znc.pc])
AC_CONFIG_FILES([znc-uninstalled.pc])
AC_CONFIG_FILES([znc.service])
AC_CONFIG_FILES([modules/Makefile])
AC_OUTPUT