masqmail-0.2

view Makefile.am @ 27:3654c502a4df

g_malloc terminates the program on failure automatically
author meillo@marmaro.de
date Thu, 06 May 2010 11:50:40 +0200
parents 3cafdebd1479
children 185ba6c0e6f0
line source
1 EXTRA_DIST = \
2 examples/example.get examples/example.route examples/masqmail.conf \
3 docs/README docs/m*.[0-9] \
4 tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it \
5 tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr \
6 INSTALL.agenda INSTALL.ipaq agenda-config.site
8 SUBDIRS = src
10 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
12 conf_dir: $(DESTDIR)@with_confdir@
14 $(DESTDIR)@with_confdir@:
15 install -d $(DESTDIR)@with_confdir@
17 tpl_dir: $(DESTDIR)@datadir@/tpl
19 $(DESTDIR)@datadir@/tpl: conf_dir
20 install -d $(DESTDIR)@datadir@/masqmail/tpl
21 install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
22 install -m 644 tpl/failmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
23 install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
24 install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
26 log_dir: $(DESTDIR)@with_logdir@
28 spool_dir: $(DESTDIR)@with_spooldir@
30 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
31 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
33 run_dir:
34 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
36 $(DESTDIR)@with_logdir@:
37 [ -d `dirname $(DESTDIR)@with_logdir@` ] || \
38 install -d `dirname $(DESTDIR)@with_logdir@`
39 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
41 $(DESTDIR)@with_spooldir@:
42 [ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
43 install -d `dirname $(DESTDIR)@with_spooldir@`
44 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
45 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
46 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
47 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl