masqmail

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