X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=Makefile;h=b2290cb9312cbe75466b533a68e366d7e097d8a6;hb=84bb99c3a5a18d3471607db1c8af880b40158572;hp=a46a1e473e44aa2da4cd4faebe374e4784693868;hpb=8977d252fc44ae953df4bde4a2f1c5895beea4e0;p=apps%2Fpfixtools.git diff --git a/Makefile b/Makefile index a46a1e4..b2290cb 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 -m 640 example/postlicyd.conf $(DESTDIR)/etc/pfixtools/postlicyd.example.conf + install -m 640 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 + ###########################################################################}}}