forked from osmocom/wireshark
cmake:
Avoide rebuilding the guides each and every time. Don't print the single file guides to stdout. Change-Id: Ie94fc4b24676e9abc7258c4ea1c7fd3049a96fb6 Reviewed-on: https://code.wireshark.org/review/5367 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
parent
4a86d622b1
commit
7a7a7639f2
|
@ -36,9 +36,11 @@ MACRO(XML2HTML _guide _mode _xmlsources _gfxsources)
|
|||
IF(${_mode} STREQUAL "chunked")
|
||||
SET(_basedir ${_guide}_html_chunked)
|
||||
SET(_STYLESHEET "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
|
||||
SET(_modeparams --noout)
|
||||
ELSE() # single-page
|
||||
SET(_basedir ${_guide}_html)
|
||||
SET(_STYLESHEET "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl")
|
||||
SET(_modeparams --output ${_basedir}/index.html)
|
||||
ENDIF()
|
||||
|
||||
SET(_outdir ${CMAKE_CURRENT_BINARY_DIR}/${_basedir})
|
||||
|
@ -85,6 +87,7 @@ MACRO(XML2HTML _guide _mode _xmlsources _gfxsources)
|
|||
--stringparam section.label.includes.component.label 1
|
||||
--stringparam html.stylesheet ws.css
|
||||
--nonet
|
||||
${_modeparams}
|
||||
${_STYLESHEET}
|
||||
${_source}
|
||||
COMMAND chmod
|
||||
|
|
Loading…
Reference in New Issue