summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-01-09 10:23:51 -0800
committerGerald Combs <gerald@wireshark.org>2015-01-09 18:29:13 +0000
commit2bb26eaf2ce383de7162c094f41ea6486b13462e (patch)
treec572b31d191dc22f0f6e51a61f97de7551e6a2a6
parentf5de0c45a3de61cc1b6787456333f958db5a641f (diff)
downloadwireshark-2bb26eaf2ce383de7162c094f41ea6486b13462e.tar.gz
CMake: Copy CHM graphics from the correct source.
Change-Id: Iea67bdaf8d83009c808bd39693fe273b3181ff76 Reviewed-on: https://code.wireshark.org/review/6452 Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--cmake/modules/FindXSLTPROC.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/modules/FindXSLTPROC.cmake b/cmake/modules/FindXSLTPROC.cmake
index 49b466051b..3be7545aaa 100644
--- a/cmake/modules/FindXSLTPROC.cmake
+++ b/cmake/modules/FindXSLTPROC.cmake
@@ -185,8 +185,9 @@ MACRO(XML2HHP _guide _docbooksource)
${_output_hhp}
COMMAND ${CMAKE_COMMAND} -E make_directory ${_basedir}
COMMAND ${CMAKE_COMMAND} -E make_directory ${_basedir}/${_gfxdir}
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${_gfxdir} ${_basedir}/${_gfxdir}
- COMMAND ${CMAKE_COMMAND} -E copy_directory common_graphics ${_basedir}
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/${_gfxdir} ${_basedir}/${_gfxdir}
+ # XXX - HTML Help doesn't support SVG.
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/common_graphics ${_basedir}
# HTML Help doesn't render decimal character entities in the title.
COMMAND ${SED_EXECUTABLE}
-e "s|er&#8217;s Guide</title>|er's Guide</title>|"