summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-02-22 00:44:48 +0100
committerGraham Bloice <graham.bloice@trihedral.com>2016-02-23 23:31:11 +0000
commit8d256d26d3fda27d521e4edffd6713c0dfcc1c66 (patch)
tree2eab8ad2e06eec7fc6f93a42245808258c29ea87 /cmake
parent62903874f359db596eaf170a6a4c3e662c589974 (diff)
downloadwireshark-8d256d26d3fda27d521e4edffd6713c0dfcc1c66.tar.gz
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>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindXSLTPROC.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/FindXSLTPROC.cmake b/cmake/modules/FindXSLTPROC.cmake
index 6b660fa7ee..5f851c7239 100644
--- a/cmake/modules/FindXSLTPROC.cmake
+++ b/cmake/modules/FindXSLTPROC.cmake
@@ -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