Mercurial > masqmail
changeset 58:6ab62592cac4
install docs and examples too
author | meillo@marmaro.de |
---|---|
date | Sat, 29 May 2010 22:33:10 +0200 (2010-05-29) |
parents | ed34413652fc |
children | 941413084f56 |
files | Makefile.am Makefile.in |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Sat May 29 22:07:07 2010 +0200 +++ b/Makefile.am Sat May 29 22:33:10 2010 +0200 @@ -4,7 +4,7 @@ SUBDIRS = src man -install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir conf_dir: $(DESTDIR)@with_confdir@ @@ -20,6 +20,12 @@ install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl +doc_dir: conf_dir + install -d $(DESTDIR)@docdir@ + cp -r docs $(DESTDIR)@docdir@ + cp -r examples $(DESTDIR)@docdir@ + cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@ + log_dir: $(DESTDIR)@with_logdir@ spool_dir: $(DESTDIR)@with_spooldir@
--- a/Makefile.in Sat May 29 22:07:07 2010 +0200 +++ b/Makefile.in Sat May 29 22:33:10 2010 +0200 @@ -694,7 +694,7 @@ uninstall uninstall-am -install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir +install-data-local: log_dir spool_dir uid_bit conf_dir tpl_dir run_dir doc_dir conf_dir: $(DESTDIR)@with_confdir@ @@ -710,6 +710,12 @@ install -m 644 tpl/warnmsg.tpl $(DESTDIR)@datadir@/masqmail/tpl install -m 644 tpl/warnmsg.tpl.* $(DESTDIR)@datadir@/masqmail/tpl +doc_dir: conf_dir + install -d $(DESTDIR)@docdir@ + cp -r docs $(DESTDIR)@docdir@ + cp -r examples $(DESTDIR)@docdir@ + cp ChangeLog NEWS AUTHORS COPYING README TODO $(DESTDIR)@docdir@ + log_dir: $(DESTDIR)@with_logdir@ spool_dir: $(DESTDIR)@with_spooldir@