masqmail

diff Makefile.am @ 0:08114f7dcc23

this is masqmail-0.2.21 from oliver kurth
author meillo@marmaro.de
date Fri, 26 Sep 2008 17:05:23 +0200
parents
children af25f5c39d90
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.am	Fri Sep 26 17:05:23 2008 +0200
     1.3 @@ -0,0 +1,50 @@
     1.4 +EXTRA_DIST = \
     1.5 +examples/example.get examples/example.route examples/masqmail.conf \
     1.6 +docs/README docs/man/m*.[0-9] \
     1.7 +suse/masqmail suse/masqmail.spec suse/masqmail.spec.in \
     1.8 +redhat/masqmail redhat/masqmail.spec redhat/masqmail.spec.in \
     1.9 +tpl/failmsg.tpl tpl/failmsg.tpl.de tpl/failmsg.tpl.fr tpl/failmsg.tpl.it \
    1.10 +tpl/warnmsg.tpl tpl/warnmsg.tpl.de tpl/warnmsg.tpl.fr \
    1.11 +INSTALL.agenda INSTALL.ipaq agenda-config.site
    1.12 +
    1.13 +SUBDIRS = src tests docs debian
    1.14 +
    1.15 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
    1.16 +
    1.17 +conf_dir: $(DESTDIR)@with_confdir@
    1.18 +
    1.19 +$(DESTDIR)@with_confdir@:
    1.20 +	install -d $(DESTDIR)@with_confdir@
    1.21 +
    1.22 +tpl_dir: $(DESTDIR)@datadir@/tpl
    1.23 +
    1.24 +$(DESTDIR)@datadir@/tpl: conf_dir
    1.25 +	install -d $(DESTDIR)@datadir@/masqmail/tpl
    1.26 +	install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    1.27 +	install -m 644 tpl/failmsg.tpl.{de,fr,it} $(DESTDIR)@datadir@/masqmail/tpl
    1.28 +	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    1.29 +	install -m 644 tpl/warnmsg.tpl.{de,fr} $(DESTDIR)@datadir@/masqmail/tpl
    1.30 +
    1.31 +log_dir: $(DESTDIR)@with_logdir@
    1.32 +
    1.33 +spool_dir: $(DESTDIR)@with_spooldir@
    1.34 +
    1.35 +uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
    1.36 +	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
    1.37 +
    1.38 +run_dir:
    1.39 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
    1.40 +
    1.41 +$(DESTDIR)@with_logdir@:
    1.42 +	[ -d `dirname $(DESTDIR)@with_logdir@` ] || \
    1.43 +		install -d `dirname $(DESTDIR)@with_logdir@`
    1.44 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
    1.45 +
    1.46 +$(DESTDIR)@with_spooldir@:
    1.47 +	[ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
    1.48 +		install -d `dirname $(DESTDIR)@with_spooldir@`
    1.49 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@
    1.50 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/lock
    1.51 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/input
    1.52 +	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_spooldir@/popuidl
    1.53 +