]> pere.pagekite.me Git - exim4-smtorp.git/blobdiff - Makefile
Change deb section from python to mail.
[exim4-smtorp.git] / Makefile
index 39ff0112a4dd4316672ec7f261aed08948d2a72d..4f8111788d18d0c83dc668d8bc223654cfebe66b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
 DESTDIR=
-sysconfdir=/etc
+sysconfdir = /etc
+prefix     = /usr
+libdir     = $(prefix)/lib/exim4-smtorp
 
+INSTALL      = install -m700
 INSTALL_DATA = install -m644
 
 MAKE=make
@@ -11,4 +14,5 @@ install:
        for f in $$(cd exim4-conf.d; find . -type f); do \
                $(INSTALL_DATA) -D exim4-conf.d/$$f $(DESTDIR)$(sysconfdir)/exim4/conf.d/$$f; \
        done
-       $(INSTALL_DATA) -D xinetd $(DESTDIR)$(sysconfdir)/xinet.d/exim4-smtorp
+       $(INSTALL_DATA) -D xinetd $(DESTDIR)$(sysconfdir)/xinetd.d/exim4-smtorp
+       $(INSTALL) -D setup-exim-hidden-service $(DESTDIR)$(libdir)/setup-exim-hidden-service