[beast: 175/210] DOCS: Makefile.doxygen: support DOXYGEN_TAGFILES configuration
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 175/210] DOCS: Makefile.doxygen: support DOXYGEN_TAGFILES configuration
- Date: Fri, 5 Jul 2013 22:48:42 +0000 (UTC)
commit b0bd953552f1ad62a9ce89dc76aa542a6590ebbe
Author: Tim Janik <timj gnu org>
Date: Tue Jun 18 22:08:28 2013 +0200
DOCS: Makefile.doxygen: support DOXYGEN_TAGFILES configuration
docs/Makefile.doxygen | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/docs/Makefile.doxygen b/docs/Makefile.doxygen
index 5df3a68..089ce0f 100644
--- a/docs/Makefile.doxygen
+++ b/docs/Makefile.doxygen
@@ -14,6 +14,8 @@ DOXYGEN_CHANGELOG_TITLE ?= Development ChangeLog
DOXYGEN_GRAPHICS ?= YES
# Link markup for the project name
DOXYGEN_PROJECT_LINK ?=
+# Tagfile references for Doxygen
+DOXYGEN_TAGFILES ?=
# == doxygen-full ==
# build doxygen-html/ from scratch ==
@@ -70,23 +72,26 @@ DOXYGEN_CHANGELOG_SED = \
# == doxygen-html ==
# configure and run doxygen, handle DOXYGEN="" by creating a dummy docu target
-doxygen-html: doxygen.cfg tagfile-susv4.xml doxygen-srctree
+doxygen-html: doxygen.cfg doxygen-srctree
$(DOXYGEN_V) "CLEAN" "Html temporaries..."
$(DOXYGEN_Q) rm -rf doxygen-tmp/ && mkdir -p doxygen-tmp/
$(DOXYGEN_V) "GEN" "HTML Documentation..."
$(DOXYGEN_Q) test -n "$(DOXYGEN)" || \
( mkdir -p doxygen-tmp/html/ && echo "$(PACKAGE) $(DOXYGEN_PROJECT_NUMBER)" >
doxygen-tmp/html/index.html )
+ $(DOXYGEN_Q) for tagfile in $(DOXYGEN_TAGFILES) ; do \
+ test -r "$${tagfile/=*/}" || { echo "ERROR: tag file missing or unreadable: $${tagfile/=*/}" >&2 ;
exit 1 ; } ; done
$(DOXYGEN_Q) test -z "$(DOXYGEN)" || (cat doxygen.cfg \
&& echo "STRIP_FROM_PATH = `pwd`/doxygen-srctree" \
&& echo "INPUT = doxygen-srctree/" \
&& echo "HAVE_DOT = $(DOXYGEN_GRAPHICS)" \
&& echo "CLASS_DIAGRAMS = $(DOXYGEN_GRAPHICS)" \
- && echo "DOT_MULTI_TARGETS = YES" \
&& echo "EXAMPLE_PATH = $(top_srcdir)/" \
&& echo "OUTPUT_DIRECTORY = doxygen-tmp/" \
&& echo "GENERATE_TAGFILE = doxygen-tmp/html/tagfile.xml" \
- && echo "TAGFILES = tagfile-susv4.xml=http://pubs.opengroup.org/onlinepubs/9699919799/" \
- && echo -n "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" \
+ && echo "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" \
+ && echo "DOT_MULTI_TARGETS = YES" \
+ && for tagfile in $(DOXYGEN_TAGFILES) ; do \
+ echo "TAGFILES += $$tagfile" ; done \
) > doxygen-tmp/Doxyfile.tmp \
&& nice $(DOXYGEN) doxygen-tmp/Doxyfile.tmp > error.log 2>&1
$(DOXYGEN_Q) test ! -s error.log && rm -f error.log \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]