From 81726229400d0fdf34539236b7a484aee6ddb664 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Sun, 25 Sep 2005 22:45:39 +0000 Subject: [PATCH] * Makefile.in (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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291480 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 12 ++++++++---- build/rules.mk.in | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index c565254927..e55d1d49d9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -105,11 +105,15 @@ install-build: build/config_vars.out 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: diff --git a/build/rules.mk.in b/build/rules.mk.in index 983bdf5156..b22d3357c1 100644 --- a/build/rules.mk.in +++ b/build/rules.mk.in @@ -229,5 +229,5 @@ SHLIB_SUFFIX = so 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) -- 2.50.0