masqmail-0.2

diff Makefile.in @ 61:bdef5f279fde

refactoring in Makefile.am
author meillo@marmaro.de
date Sat, 29 May 2010 23:43:32 +0200
parents 6ab62592cac4
children 610cd4e09b91
line diff
     1.1 --- a/Makefile.in	Sat May 29 22:57:17 2010 +0200
     1.2 +++ b/Makefile.in	Sat May 29 23:43:32 2010 +0200
     1.3 @@ -204,10 +204,7 @@
     1.4  with_logdir = @with_logdir@
     1.5  with_spooldir = @with_spooldir@
     1.6  with_user = @with_user@
     1.7 -EXTRA_DIST = \
     1.8 -examples/* docs/* man/* tpl/* \
     1.9 -INSTALL.agenda INSTALL.ipaq agenda-config.site
    1.10 -
    1.11 +EXTRA_DIST = examples/* docs/* man/* tpl/*
    1.12  SUBDIRS = src man
    1.13  all: config.h
    1.14  	$(MAKE) $(AM_MAKEFLAGS) all-recursive
    1.15 @@ -705,32 +702,30 @@
    1.16  
    1.17  $(DESTDIR)@datadir@/tpl: conf_dir
    1.18  	install -d $(DESTDIR)@datadir@/masqmail/tpl
    1.19 -	install -m 644 tpl/failmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    1.20 -	install -m 644 tpl/failmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
    1.21 -	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    1.22 -	install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
    1.23 +	cp tpl/* $(DESTDIR)@datadir@/masqmail/tpl
    1.24 +	chmod 644 $(DESTDIR)@datadir@/masqmail/tpl/*
    1.25  
    1.26 -doc_dir: conf_dir
    1.27 +doc_dir:
    1.28  	install -d $(DESTDIR)@docdir@
    1.29  	cp -r docs $(DESTDIR)@docdir@
    1.30  	cp -r examples $(DESTDIR)@docdir@
    1.31  	cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
    1.32  
    1.33 -log_dir: $(DESTDIR)@with_logdir@
    1.34 -
    1.35 -spool_dir: $(DESTDIR)@with_spooldir@
    1.36 -
    1.37  uid_bit: $(DESTDIR)@prefix@/sbin/masqmail
    1.38  	chmod u+s $(DESTDIR)@prefix@/sbin/masqmail
    1.39  
    1.40  run_dir:
    1.41  	install -d -o @with_user@ -g @with_group@ $(DESTDIR)/var/run/masqmail
    1.42  
    1.43 +log_dir: $(DESTDIR)@with_logdir@
    1.44 +
    1.45  $(DESTDIR)@with_logdir@:
    1.46  	[ -d `dirname $(DESTDIR)@with_logdir@` ] || \
    1.47  		install -d `dirname $(DESTDIR)@with_logdir@`
    1.48  	install -d -o @with_user@ -g @with_group@ $(DESTDIR)@with_logdir@
    1.49  
    1.50 +spool_dir: $(DESTDIR)@with_spooldir@
    1.51 +
    1.52  $(DESTDIR)@with_spooldir@:
    1.53  	[ -d `dirname $(DESTDIR)@with_spooldir@` ] || \
    1.54  		install -d `dirname $(DESTDIR)@with_spooldir@`