Fix doc-target.

Fix inclusion of documentation in dist.
This commit is contained in:
kuepper 2004-09-24 15:00:48 +00:00
commit c5a9348dd9
2 changed files with 8 additions and 13 deletions

View file

@ -19,7 +19,10 @@ IDXDIR = ~/index
dist-hook:
$(MAKE) doc
$(MAKE) documentation
cp -p -r $(srcdir)/doc/html $(srcdir)/doc/latex $(srcdir)/doc/man $(distdir)/doc/
doc: $(srcdir)/doc/eo.cfg
documentation:
cd doc && $(MAKE) doc && cd ..
doc: documentation

View file

@ -1,18 +1,10 @@
###############################################################################
##
## Makefile.am for eo/doc
##
###############################################################################
EXTRA_DIST = eo.cfg foot.html \
$(srcdir)/html/* \
$(srcdir)/latex/* \
$(srcdir)/man/*
EXTRA_DIST = eo.cfg foot.html
doc:
cd $(srcdir) && $(DOXYGEN) eo.cfg && touch eo.cfg
cd $(srcdir) && $(DOXYGEN) eo.cfg
clean-local:
cd $(srcdir) && rm -rf html latex man && touch eo.cfg
cd $(srcdir) && rm -rf html latex man