Use resources for the greylister too.
[apps/pfixtools.git] / Makefile
index 88e599d..7b58a6c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,6 +66,7 @@ $(INSTALL_TARGETS): install-%: % install-dir
 install-postlicyd: install-postlicyd-tools install-postlicyd-conf
 install-dir:
        install -d $(DESTDIR)$(prefix)/sbin
+       install -d $(DESTDIR)$(prefix)/bin
        install -d $(DESTDIR)/etc/pfixtools
 
 install-postlicyd-tools:
@@ -74,8 +75,8 @@ install-postlicyd-tools:
        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
+       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) install-postlicyd-tools \