masqmail-0.2

diff Makefile.am @ 58:6ab62592cac4

install docs and examples too
author meillo@marmaro.de
date Sat, 29 May 2010 22:33:10 +0200
parents ed34413652fc
children bdef5f279fde
line diff
     1.1 --- a/Makefile.am	Sat May 29 22:07:07 2010 +0200
     1.2 +++ b/Makefile.am	Sat May 29 22:33:10 2010 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  
     1.5  SUBDIRS = src man
     1.6  
     1.7 -install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
     1.8 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir
     1.9  
    1.10  conf_dir: $(DESTDIR)@with_confdir@
    1.11  
    1.12 @@ -20,6 +20,12 @@
    1.13  	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    1.14  	install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
    1.15  
    1.16 +doc_dir: conf_dir
    1.17 +	install -d $(DESTDIR)@docdir@
    1.18 +	cp -r docs $(DESTDIR)@docdir@
    1.19 +	cp -r examples $(DESTDIR)@docdir@
    1.20 +	cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
    1.21 +
    1.22  log_dir: $(DESTDIR)@with_logdir@
    1.23  
    1.24  spool_dir: $(DESTDIR)@with_spooldir@