cmake: fix docbook dependency

After changing an asciidoc source file, the html files were not rebuilt
via 'ninja developer_guides'. It turns out that the
developer_guide_docbook target has an order-only dependency on
developer-guide.xml (and not the developer-guide.xml dependencies).

Fix this by adding an explicit dependency on the generated .xml file.

Change-Id: I4bdc0ebca8909caaab9cc0797cc35cc6260bfe43
Reviewed-on: https://code.wireshark.org/review/14065
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
This commit is contained in:
Peter Wu 2016-02-22 00:44:48 +01:00 committed by Graham Bloice
parent 62903874f3
commit 8d256d26d3
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,7 @@ MACRO(XML2HTML _target_dep _dir_pfx _mode _dbk_source _gfx_sources)
${_STYLESHEET}
${_dbk_source}
DEPENDS
${_dbk_source}
${_dbk_dep}
#${_validated}
${_gfx_deps}
@ -172,6 +173,7 @@ MACRO(XML2PDF _target_dep _output _dbk_source _stylesheet _paper)
${_output}.fo
${_output}
DEPENDS
${_dbk_source}
${_dbk_dep}
${_stylesheet}
)
@ -217,6 +219,7 @@ MACRO(XML2HHP _target_dep _guide _docbooksource)
--nonet custom_layer_chm.xsl
${_docbook_plain_title}
DEPENDS
${_docbooksource}
${_dbk_dep}
# AsciiDoc uses UTF-8 by default, which is unsupported by HTML
# Help. We may want to render an ISO-8859-1 version, or get rid