From dbeeaf3ad8018d477bb52b64711922f4e6311c69 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 23 Apr 2018 11:22:41 +0100 Subject: doxygen_to_devhelp: Produce Devhelp index format v2 The old version-1 format is deprecated and now produces warnings. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106186 Reviewed-by: Philip Withnall [smcv: Add the .devhelp2 file to .gitignore as suggested] Signed-off-by: Simon McVittie (cherry picked from commit fa922639207de16d459983144ddad28b7abe60c2) --- doc/.gitignore | 1 + doc/Makefile.am | 4 ++-- doc/doxygen_to_devhelp.xsl | 7 ++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/.gitignore b/doc/.gitignore index 7e024f99..6bc82863 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -10,6 +10,7 @@ Makefile.in *.o api dbus.devhelp +/dbus.devhelp2 dbus-specification.html dbus-test-plan.html dbus-tutorial.html diff --git a/doc/Makefile.am b/doc/Makefile.am index cf2b667f..b10409c5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -98,9 +98,9 @@ doxygen.stamp: $(wildcard $(top_srcdir)/dbus/*.[ch]) @touch $@ if DBUS_HAVE_XSLTPROC -html_DATA += dbus.devhelp +html_DATA += dbus.devhelp2 -dbus.devhelp: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp +dbus.devhelp2: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp $(XSLTPROC) -o $@ $< api/xml/index.xml endif diff --git a/doc/doxygen_to_devhelp.xsl b/doc/doxygen_to_devhelp.xsl index 6f6a79bd..fd33bcee 100644 --- a/doc/doxygen_to_devhelp.xsl +++ b/doc/doxygen_to_devhelp.xsl @@ -11,6 +11,11 @@ @@ -33,7 +38,7 @@ .html# - + -- cgit v1.2.1