masqmail

view Makefile.am @ 1:af25f5c39d90

added diff from debian (masqmail-0.2.21-4)
author meillo@marmaro.de
date Fri, 26 Sep 2008 20:56:23 +0200
parents 08114f7dcc23
children 8c55886cacd8
line source
1 EXTRA_DIST = \
2 examples/example.get examples/example.route examples/masqmail.conf \
3 docs/README docs/man/m*.[0-9] \
4 suse/masqmail suse/masqmail.spec suse/masqmail.spec.in \
5 redhat/masqmail redhat/masqmail.spec redhat/masqmail.spec.in \
6 tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it \
7 tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr \
8 INSTALL.agenda INSTALL.ipaq agenda-config.site
10 SUBDIRS = src tests docs debian
12 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
14 conf_dir: $(DESTDIR)@with_confdir@
16 $(DESTDIR)@with_confdir@:
17 install -d $(DESTDIR)@with_confdir@
19 tpl_dir: $(DESTDIR)@datadir@/tpl
21 $(DESTDIR)@datadir@/tpl: conf_dir
22 install -d $(DESTDIR)@datadir@/masqmail/tpl
23 install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
24 install -m 644 tpl/failmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
25 install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
26 install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
28 log_dir: $(DESTDIR)@with_logdir@
30 spool_dir: $(DESTDIR)@with_spooldir@
32 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
33 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
35 run_dir:
36 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
38 $(DESTDIR)@with_logdir@:
39 [ -d `dirname $(DESTDIR)@with_logdir@` ] || \
40 install -d `dirname $(DESTDIR)@with_logdir@`
41 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
43 $(DESTDIR)@with_spooldir@:
44 [ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
45 install -d `dirname $(DESTDIR)@with_spooldir@`
46 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
47 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
48 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
49 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl