masqmail

view Makefile.am @ 60:e119cee8d493

tiny improvement in usage message
author meillo@marmaro.de
date Sat, 29 May 2010 22:57:17 +0200
parents ed34413652fc
children bdef5f279fde
line source
1 EXTRA_DIST = \
2 examples/* docs/* man/* tpl/* \
3 INSTALL.agenda INSTALL.ipaq agenda-config.site
5 SUBDIRS = src man
7 install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir
9 conf_dir: $(DESTDIR)@with_confdir@
11 $(DESTDIR)@with_confdir@:
12 install -d $(DESTDIR)@with_confdir@
14 tpl_dir: $(DESTDIR)@datadir@/tpl
16 $(DESTDIR)@datadir@/tpl: conf_dir
17 install -d $(DESTDIR)@datadir@/masqmail/tpl
18 install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
19 install -m 644 tpl/failmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
20 install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
21 install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
23 doc_dir: conf_dir
24 install -d $(DESTDIR)@docdir@
25 cp -r docs $(DESTDIR)@docdir@
26 cp -r examples $(DESTDIR)@docdir@
27 cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
29 log_dir: $(DESTDIR)@with_logdir@
31 spool_dir: $(DESTDIR)@with_spooldir@
33 uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
34 chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
36 run_dir:
37 install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
39 $(DESTDIR)@with_logdir@:
40 [ -d `dirname $(DESTDIR)@with_logdir@` ] || \
41 install -d `dirname $(DESTDIR)@with_logdir@`
42 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
44 $(DESTDIR)@with_spooldir@:
45 [ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
46 install -d `dirname $(DESTDIR)@with_spooldir@`
47 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
48 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
49 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
50 install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl