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>
This commit is contained in:
Peter Wu 2016-10-19 12:19:02 +02:00
parent 511e80128e
commit 53400e0d33
1 changed files with 7 additions and 1 deletions

View File

@ -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}"