Use install to copy generated documentation.

This commit is contained in:
kuepper 2005-09-29 16:53:06 +00:00
commit efee2faf31

View file

@ -18,11 +18,13 @@ DOCDIR = ~/public_html/eodocs
IDXDIR = ~/index IDXDIR = ~/index
# Add documentation to distribution
dist-hook: dist-hook:
$(MAKE) documentation $(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: documentation:
cd doc && $(MAKE) doc && cd .. cd doc && $(MAKE) doc && cd ..
# convinience-target
doc: documentation doc: documentation