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
|
||||
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue