masqmail

changeset 58:6ab62592cac4

install docs and examples too
author meillo@marmaro.de
date Sat, 29 May 2010 22:33:10 +0200
parents ed34413652fc
children 941413084f56
files Makefile.am Makefile.in
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
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@
     2.1 --- a/Makefile.in	Sat May 29 22:07:07 2010 +0200
     2.2 +++ b/Makefile.in	Sat May 29 22:33:10 2010 +0200
     2.3 @@ -694,7 +694,7 @@
     2.4  	uninstall uninstall-am
     2.5  
     2.6  
     2.7 -install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir
     2.8 +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir
     2.9  
    2.10  conf_dir: $(DESTDIR)@with_confdir@
    2.11  
    2.12 @@ -710,6 +710,12 @@
    2.13  	install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl
    2.14  	install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl
    2.15  
    2.16 +doc_dir: conf_dir
    2.17 +	install -d $(DESTDIR)@docdir@
    2.18 +	cp -r docs $(DESTDIR)@docdir@
    2.19 +	cp -r examples $(DESTDIR)@docdir@
    2.20 +	cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@
    2.21 +
    2.22  log_dir: $(DESTDIR)@with_logdir@
    2.23  
    2.24  spool_dir: $(DESTDIR)@with_spooldir@