masqmail-0.2

view Makefile.am @ 86:92673a185add

added rmail script from postfix
author meillo@marmaro.de
date Sat, 19 Jun 2010 18:50:41 +0200
parents 610cd4e09b91
children 3e7136221104
line source
1 EXTRA_DIST = examples docs man tpl tests misc
3 SUBDIRS = src man
5 bin_SCRIPTS = contrib/rmail
7 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir
10 conf_dir: $(DESTDIR)@with_confdir@
12 $(DESTDIR)@with_confdir@:
13 install -d $(DESTDIR)@with_confdir@
16 tpl_dir: $(DESTDIR)@datadir@/tpl
18 $(DESTDIR)@datadir@/tpl: conf_dir
19 install -d $(DESTDIR)@datadir@/masqmail/tpl
20 cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
21 chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
24 doc_dir:
25 install -d $(DESTDIR)@docdir@
26 cp -r docs $(DESTDIR)@docdir@
27 cp -r examples $(DESTDIR)@docdir@
28 cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
31 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
32 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
35 run_dir:
36 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
40 log_dir: $(DESTDIR)@with_logdir@
42 $(DESTDIR)@with_logdir@:
43 [ -d `dirname $(DESTDIR)@with_logdir@` ] || \
44 install -d `dirname $(DESTDIR)@with_logdir@`
45 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
49 spool_dir: $(DESTDIR)@with_spooldir@
51 $(DESTDIR)@with_spooldir@:
52 [ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
53 install -d `dirname $(DESTDIR)@with_spooldir@`
54 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
55 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
56 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
57 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl