X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=Makefile;h=88e599de711eee90f184a9ff7a110c9b04691cb3;hb=e4947fba7dd007870a0cdc55ec35cf849a2216c1;hp=a46a1e473e44aa2da4cd4faebe374e4784693868;hpb=8977d252fc44ae953df4bde4a2f1c5895beea4e0;p=apps%2Fpfixtools.git diff --git a/Makefile b/Makefile index a46a1e4..88e599d 100644 --- a/Makefile +++ b/Makefile @@ -60,13 +60,25 @@ $(CLEAN_TARGETS): clean-%: $(DISTCLEAN_TARGETS): distclean-%: make -C $* distclean -$(INSTALL_TARGETS): install-%: install-dir +$(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 + ###########################################################################}}}