diff options
author | Gerald Combs <gerald@zing.org> | 2014-08-17 09:23:31 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-23 18:32:51 +0000 |
commit | 02c5a12ee41c730211055b3252416e6e8c8f0748 (patch) | |
tree | 9658a527e601cc00bb9d3d49c56f1aa77b7b3fb0 /cmake/modules/FindXSLTPROC.cmake | |
parent | 6854d8989ebfeef401544130e351552b238ec3f5 (diff) | |
download | wireshark-02c5a12ee41c730211055b3252416e6e8c8f0748.tar.gz |
WSUG: Convert the "User Interface" chapter to AsciiDoc.
Add the "asciidoc.conf" compatibility configuration file from
Asciidoctor. Although we don't use Asciidoctor it gives us macros that
keep us from losing some useful DocBook elements. Update various CMake
files to support multiple AsciiDoc configuration files.
Leave most of the content intact for now. Hopefully the other chapters
aren't as laden with markup.
Change-Id: Id69757342b86abb2b3130cb61e90f5695a26ea8a
Reviewed-on: https://code.wireshark.org/review/3680
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'cmake/modules/FindXSLTPROC.cmake')
-rw-r--r-- | cmake/modules/FindXSLTPROC.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/modules/FindXSLTPROC.cmake b/cmake/modules/FindXSLTPROC.cmake index eef8d3693f..875809b6c0 100644 --- a/cmake/modules/FindXSLTPROC.cmake +++ b/cmake/modules/FindXSLTPROC.cmake @@ -69,7 +69,7 @@ MACRO(XML2HTML _validated _output _mode _xmlsources _gfxsources) -E copy ${CMAKE_CURRENT_SOURCE_DIR}/ws.css ${_OUTDIR} COMMAND ${XSLTPROC_EXECUTABLE} --path "${CMAKE_CURRENT_SOURCE_DIR}:${CMAKE_CURRENT_BINARY_DIR}:${CMAKE_CURRENT_BINARY_DIR}/wsluarm_src" - --stringparam img.src.path ${CMAKE_CURRENT_SOURCE_DIR} + --stringparam img.src.path ${CMAKE_CURRENT_SOURCE_DIR}/ --stringparam base.dir ${_OUTDIR}/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 @@ -109,7 +109,7 @@ MACRO(XML2PDF _output _sources _stylesheet _paper) COMMAND ${XSLTPROC_EXECUTABLE} --path "${CMAKE_CURRENT_SOURCE_DIR}:${CMAKE_CURRENT_BINARY_DIR}:${CMAKE_CURRENT_BINARY_DIR}/wsluarm_src" --stringparam paper.type ${_paper} - --stringparam img.src.path ${CMAKE_CURRENT_SOURCE_DIR} + --stringparam img.src.path ${CMAKE_CURRENT_SOURCE_DIR}/ --stringparam base.dir ${_OUTDIR}/ --stringparam use.id.as.filename 1 --stringparam admon.graphics 1 @@ -126,4 +126,3 @@ MACRO(XML2PDF _output _sources _stylesheet _paper) ${_stylesheet} ) ENDMACRO(XML2PDF) - |