Skip to content

Commit

Permalink
Remove docs from local OpenSSL installation before packaging
Browse files Browse the repository at this point in the history
Reduce impact on cache, and needless console output, by deleting docs from the
local OpenSSL installation before packaging it.
  • Loading branch information
qris committed Aug 8, 2018
1 parent 6670bde commit 312e025
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infrastructure/cmake/windows/CMakeLists.txt
Expand Up @@ -130,6 +130,10 @@ if(NOT EXISTS ${openssl_package_file})
DEPENDEES install
BYPRODUCTS ${openssl_package_file}
ALWAYS 1
# Reduce impact on cache, and needless console output, by deleting docs from the
# local OpenSSL installation before packaging it:
COMMAND ${CMAKE_COMMAND} -E remove_directory
${openssl_install_dir}/html
COMMAND ${CMAKE_COMMAND} -E tar czvf ${openssl_package_file}
${openssl_install_dir}
)
Expand Down

0 comments on commit 312e025

Please sign in to comment.