From efee2faf3134c3ac6ed2f3a0704f02497402d2eb Mon Sep 17 00:00:00 2001 From: kuepper Date: Thu, 29 Sep 2005 16:53:06 +0000 Subject: [PATCH] Use install to copy generated documentation. --- eo/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eo/Makefile.am b/eo/Makefile.am index 5a1ea927..a94bc167 100644 --- a/eo/Makefile.am +++ b/eo/Makefile.am @@ -18,11 +18,13 @@ DOCDIR = ~/public_html/eodocs IDXDIR = ~/index +# Add documentation to distribution dist-hook: $(MAKE) documentation - cp -p -r $(srcdir)/doc/html $(srcdir)/doc/latex $(srcdir)/doc/man $(distdir)/doc/ + $(INSTALL_DATA) -d $(srcdir)/doc/html $(srcdir)/doc/latex $(srcdir)/doc/man $(distdir)/doc/ +# Prepare documentation documentation: cd doc && $(MAKE) doc && cd .. - +# convinience-target doc: documentation