diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-10-19 12:19:02 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-10-20 23:36:24 +0000 |
commit | 53400e0d33a5c4f94859c024f9efa9a562daf492 (patch) | |
tree | 72b0be4d42a5f0b218add1379cad4e4f71d064d8 /cmake | |
parent | 511e80128e15be8ce2bcdca912d599217fa8ebd6 (diff) |
cmake/FindPOD: improve parallelism
HTML and manual pages can be generated in parallel.
Change-Id: I2301e8bdc5ae1179a8ac0c24f412e5435993a764
Reviewed-on: https://code.wireshark.org/review/18281
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindPOD.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmake/modules/FindPOD.cmake b/cmake/modules/FindPOD.cmake index 83a9acebc8..199ce9b8e2 100644 --- a/cmake/modules/FindPOD.cmake +++ b/cmake/modules/FindPOD.cmake @@ -46,7 +46,6 @@ macro(pod2manhtml _sourcefile _manext) add_custom_command( OUTPUT ${_outman} - ${_outhtml} COMMAND ${PERL_EXECUTABLE} ${POD2MAN_EXECUTABLE} --section=${_manext} @@ -54,6 +53,13 @@ macro(pod2manhtml _sourcefile _manext) --release=${CPACK_PACKAGE_VERSION} ${_sourcefile}.pod > ${_outman} + DEPENDS + ${_sourcefile}.pod + ) + + add_custom_command( + OUTPUT + ${_outhtml} COMMAND ${PERL_EXECUTABLE} ${POD2HTML_EXECUTABLE} --title="${_basefile} - The Wireshark Network Analyzer ${CPACK_PACKAGE_VERSION}" |