diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-04-15 14:04:37 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2014-04-17 05:39:53 -0700 |
commit | 0faabca0594e15ec87c8bfbd56b6bfdd855007fd (patch) | |
tree | 737f98f79000ff9e0b6ecbb93ef73254eaa55844 | |
parent | e5f40c307ecfe1c8342f7a261314b6f7fffec8fb (diff) |
man: run xsltproc with -nonet
This speeds up package builds for debian considerably, but adds
a requirement on the docbook-xsl package.
[chadv] Reduces `ninja man` from 20s to 1.25s.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | man/html.cmake | 2 | ||||
-rw-r--r-- | man/manpages.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man/html.cmake b/man/html.cmake index 6fd82b3..dd1062c 100644 --- a/man/html.cmake +++ b/man/html.cmake @@ -62,7 +62,7 @@ function(waffle_add_html vol title) OUTPUT ${output} DEPENDS ${main_input} ${html_common_sources} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND ${waffle_xsltproc} --xinclude -o ${output} html.xsl ${main_input} + COMMAND ${waffle_xsltproc} -nonet --xinclude -o ${output} html.xsl ${main_input} ) endfunction() diff --git a/man/manpages.cmake b/man/manpages.cmake index f293275..ee80156 100644 --- a/man/manpages.cmake +++ b/man/manpages.cmake @@ -62,7 +62,7 @@ function(waffle_add_manpage vol title) OUTPUT man${vol}/${title}.${vol} DEPENDS ${title}.${vol}.xml ${man_common_sources} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND ${waffle_xsltproc} --xinclude -o ${man_out_dir}/man${vol}/ manpage.xsl ${title}.${vol}.xml + COMMAND ${waffle_xsltproc} -nonet --xinclude -o ${man_out_dir}/man${vol}/ manpage.xsl ${title}.${vol}.xml ) endfunction() |