Use install to copy generated documentation.
This commit is contained in:
parent
09ebf78905
commit
efee2faf31
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Reference in a new issue