masqmail-0.2

annotate Makefile.am @ 13:49dab67fe461

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