# HG changeset patch # User meillo@marmaro.de # Date 1275165190 -7200 # Node ID 6ab62592cac491eacd45511261dbf1e7aaea2885 # Parent ed34413652fcf331d2acec79f8ab4a68d719fb7e install docs and examples too diff -r ed34413652fc -r 6ab62592cac4 Makefile.am --- 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@ diff -r ed34413652fc -r 6ab62592cac4 Makefile.in --- 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@