Mercurial > masqmail
annotate Makefile.am @ 6:c9bce6bb2a5d
switched tests dir to ordinary Makefile
author | meillo@marmaro.de |
---|---|
date | Fri, 26 Sep 2008 22:55:52 +0200 |
parents | 3cafdebd1479 |
children | 7e01b9096bb6 |
rev | line source |
---|---|
0 | 1 EXTRA_DIST = \ |
2 examples/example.get examples/example.route examples/masqmail.conf \ | |
3 | 3 docs/README docs/m*.[0-9] \ |
0 | 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 | |
7 | |
5
3cafdebd1479
removed remaining reference to docs in Makefile
meillo@marmaro.de
parents:
4
diff
changeset
|
8 SUBDIRS = src tests |
0 | 9 |
10 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir | |
11 | |
12 conf_dir: $(DESTDIR)@with_confdir@ | |
13 | |
14 $(DESTDIR)@with_confdir@: | |
15 install -d $(DESTDIR)@with_confdir@ | |
16 | |
17 tpl_dir: $(DESTDIR)@datadir@/tpl | |
18 | |
19 $(DESTDIR)@datadir@/tpl: conf_dir | |
20 install -d $(DESTDIR)@datadir@/masqmail/tpl | |
21 install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl | |
1 | 22 install -m 644 tpl/failmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl |
0 | 23 install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl |
1 | 24 install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl |
0 | 25 |
26 log_dir: $(DESTDIR)@with_logdir@ | |
27 | |
28 spool_dir: $(DESTDIR)@with_spooldir@ | |
29 | |
30 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail | |
31 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail | |
32 | |
33 run_dir: | |
34 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail | |
35 | |
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@ | |
40 | |
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 | |
48 |