configure.ac: require xmlto for --enable-documentation

This commit is contained in:
Max Kellermann
2014-10-25 00:14:25 +02:00
parent 188b94cb3e
commit 2e24adae89
2 changed files with 4 additions and 11 deletions
-8
View File
@@ -2141,19 +2141,11 @@ user_DATA = $(wildcard doc/user/*.html)
developerdir = $(docdir)/developer
developer_DATA = $(wildcard doc/developer/*.html)
if HAVE_XMLTO
DOCBOOK_HTML = $(patsubst %.xml,%/index.html,$(DOCBOOK_FILES))
$(DOCBOOK_HTML): %/index.html: %.xml
$(XMLTO) -o $(@D) --stringparam chunker.output.encoding=utf-8 html --stringparam use.id.as.filename=1 $<
else
DOCBOOK_HTML =
endif
doc/api/html/index.html: doc/doxygen.conf
@$(MKDIR_P) $(@D)
$(DOXYGEN) $<