(docs): If the "docs-build" project is available, trigger its build system
to turn the XML sources into HTML. Otherwise, display a URL to the
instructions on how to use the docs build.
* build/rules.mk.in:
(.PHONEY): docs is a fake target.
Submitted By: Daniel Rall <dlr apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291480
13f79535-47bb-0310-9956-
ffa450edef68
htdocs-srcdir = $(top_srcdir)/docs/docroot
-docs::
- mkdir -p ./docs/api
- srclib/apr/build/scandoc.pl -i./build/default.pl -p./docs/api/ ./include/*.h
+docs:
+ @if test -d $(top_srcdir)/docs/manual/build; then \
+ cd $(top_srcdir)/docs/manual/build && ./build.sh; \
+ else \
+ echo 'For details on generating the docs, please read:'; \
+ echo ' http://httpd.apache.org/docs-project/docsformat.html'; \
+ fi
-dox::
+dox:
doxygen $(top_srcdir)/docs/doxygen.conf
install-htdocs:
clean clean-recursive local-clean x-local-clean \
distclean distclean-recursive local-distclean x-local-distclean \
extraclean extraclean-recursive local-extraclean x-local-extraclean \
- install local-install $(INSTALL_TARGETS)
+ install local-install docs $(INSTALL_TARGETS)