masqmail
annotate Makefile.am @ 192:89f951be358f
REMOVED POP3 SUPPORT
masqmail will not include a POP3 client anymore from 0.3.0 on
maybe the POP3 code will be reworked into a standalone program
some day
if you rely on the POP3 client, use fetchmail or something similar
instead
author | meillo@marmaro.de |
---|---|
date | Thu, 15 Jul 2010 14:24:40 +0200 |
parents | 1db6e1b91ead |
children | 7b70bf4f1f42 |
rev | line source |
---|---|
meillo@125 | 1 EXTRA_DIST = examples docs man tpl misc |
meillo@0 | 2 |
meillo@57 | 3 SUBDIRS = src man |
meillo@0 | 4 |
meillo@91 | 5 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir rmail |
meillo@86 | 6 |
meillo@145 | 7 uninstall-local: rm-rmail rm-doc_dir rm-tpl_dir rm-conf_dir rm-run_dir rm-spool_dir rm-log_dir |
meillo@0 | 8 |
meillo@61 | 9 |
meillo@147 | 10 conf_dir: |
meillo@0 | 11 install -d $(DESTDIR)@with_confdir@ |
meillo@0 | 12 |
meillo@145 | 13 rm-conf_dir: |
meillo@145 | 14 rmdir $(DESTDIR)@with_confdir@ # removes only if empty |
meillo@145 | 15 |
meillo@61 | 16 |
meillo@147 | 17 tpl_dir: |
meillo@0 | 18 install -d $(DESTDIR)@datadir@/masqmail/tpl |
meillo@61 | 19 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl |
meillo@61 | 20 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/* |
meillo@0 | 21 |
meillo@147 | 22 rm-tpl_dir: |
meillo@147 | 23 rm -rf $(DESTDIR)@datadir@/masqmail/ |
meillo@147 | 24 |
meillo@61 | 25 |
meillo@61 | 26 doc_dir: |
meillo@58 | 27 install -d $(DESTDIR)@docdir@ |
meillo@58 | 28 cp -r docs $(DESTDIR)@docdir@ |
meillo@58 | 29 cp -r examples $(DESTDIR)@docdir@ |
meillo@58 | 30 cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@ |
meillo@58 | 31 |
meillo@147 | 32 rm-doc_dir: |
meillo@147 | 33 cd $(DESTDIR)@docdir@ && ( \ |
meillo@147 | 34 rm -rf docs examples ; \ |
meillo@147 | 35 rm -f ChangeLog NEWS AUTHORS COPYING README TODO ; \ |
meillo@147 | 36 ) |
meillo@147 | 37 rmdir $(DESTDIR)@docdir@ |
meillo@0 | 38 |
meillo@61 | 39 |
meillo@0 | 40 run_dir: |
meillo@0 | 41 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail |
meillo@0 | 42 |
meillo@145 | 43 rm-run_dir: |
meillo@145 | 44 rm -rf $(DESTDIR)/var/run/masqmail |
meillo@61 | 45 |
meillo@61 | 46 |
meillo@147 | 47 log_dir: |
meillo@0 | 48 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@ |
meillo@0 | 49 |
meillo@145 | 50 rm-log_dir: |
meillo@145 | 51 rmdir $(DESTDIR)@with_logdir@ # removes only if empty |
meillo@61 | 52 |
meillo@61 | 53 |
meillo@147 | 54 spool_dir: |
meillo@0 | 55 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@ |
meillo@0 | 56 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock |
meillo@0 | 57 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input |
meillo@0 | 58 |
meillo@145 | 59 rm-spool_dir: |
meillo@145 | 60 : # removal fails if the dirs are non-empty |
meillo@145 | 61 : # this prevents losing spooled files |
meillo@145 | 62 rmdir $(DESTDIR)@with_spooldir@/lock |
meillo@145 | 63 rmdir $(DESTDIR)@with_spooldir@/input |
meillo@145 | 64 rmdir $(DESTDIR)@with_spooldir@ |
meillo@91 | 65 |
meillo@91 | 66 rmail: |
meillo@148 | 67 [ -d "$(DESTDIR)@prefix@/sbin" ] || mkdir -p "$(DESTDIR)@prefix@/sbin" |
meillo@91 | 68 sed '/^SENDMAIL/s,/usr/sbin/sendmail,$(DESTDIR)@prefix@/sbin/masqmail,'\ |
meillo@148 | 69 contrib/rmail >$(DESTDIR)@prefix@/sbin/rmail |
meillo@148 | 70 chmod 755 $(DESTDIR)@prefix@/sbin/rmail |
meillo@91 | 71 |
meillo@91 | 72 rm-rmail: |
meillo@148 | 73 rm -f $(DESTDIR)@prefix@/sbin/rmail |
meillo@91 | 74 |
meillo@91 | 75 |
meillo@147 | 76 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail |
meillo@147 | 77 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail |