From: Florent Bruneau Date: Mon, 6 Oct 2008 22:18:07 +0000 (+0200) Subject: Update installation. X-Git-Url: http://git.madism.org/?p=apps%2Fpfixtools.git;a=commitdiff_plain;h=25beb9c4b9fd641f233efe3f08eb1dc70d6d3263 Update installation. Signed-off-by: Florent Bruneau --- diff --git a/Makefile b/Makefile index e9e3917..9066a61 100644 --- a/Makefile +++ b/Makefile @@ -63,11 +63,21 @@ $(DISTCLEAN_TARGETS): distclean-%: $(INSTALL_TARGETS): install-%: % install-dir make -C $* install +install-postlicyd: install-postlicyd-tools install-postlicyd-conf install-dir: install -d $(DESTDIR)$(prefix)/sbin install -d $(DESTDIR)/etc/pfixtools + +install-postlicyd-tools: + install tools/postlicyd-rsyncrbl $(DESTDIR)$(prefix)/bin/postlicyd-rsyncrbl + install tools/postgrey2postlicyd $(DESTDIR)$(prefix)/bin/postgrey2postlicyd + install tools/rbldns2postlicyd $(DESTDIR)$(prefix)/bin/rbldns2postlicyd + +install-postlicyd-conf: install example/postlicyd.conf $(DESTDIR)/etc/pfixtools/postlicyd.example.conf + install example/postlicyd-rsyncrbl.conf $(DESTDIR)/etc/pfixtools/postlicyd-rsyncrbl.example.conf .PHONY: clean distclean install install-dir $(SUBDIRS) $(CLEAN_TARGETS) \ - $(DISTCLEAN_TARGETS) $(INSTALL_TARGETS) + $(DISTCLEAN_TARGETS) $(INSTALL_TARGETS) install-postlicyd-tools \ + install-postlicyd-conf ###########################################################################}}}