masqmail

annotate Makefile.am @ 57:ed34413652fc

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