Vcpkg: [openssl-windows] Avoid to install documentation and misc files

Created on 2 Apr 2020  路  4Comments  路  Source: microsoft/vcpkg

Is your feature request related to a problem? Please describe.

Whenever I install openssl-windows, I find a lot (~7000) of html files installed in x64-windows\html and x64-windows\debug\html . This seems to be some kind of automatically-generated API documentation, but I am not aware of any other port that install this kind of material, and for openssl the 7000 files can quite slow down the process of compressing and extracting the installation directory.

Proposed solution
I would like to remove this files after openssl has been built.

Describe alternatives you've considered
An alternative would be to have an optional feature to control the build of documentation, but i do not know if the additional complexity is worth.

port-feature

Most helpful comment

target from the makefile:
install: install_sw install_ssldirs install_docs

so instead of calling

    vcpkg_execute_required_process(
        COMMAND nmake -f ${OPENSSL_MAKEFILE} install
        .....

try

    vcpkg_execute_required_process(
        COMMAND nmake -f ${OPENSSL_MAKEFILE} install_sw install_ssldirs
...

All 4 comments

target from the makefile:
install: install_sw install_ssldirs install_docs

so instead of calling

    vcpkg_execute_required_process(
        COMMAND nmake -f ${OPENSSL_MAKEFILE} install
        .....

try

    vcpkg_execute_required_process(
        COMMAND nmake -f ${OPENSSL_MAKEFILE} install_sw install_ssldirs
...

Thanks @traversaro @Neumann-A!

I summited a PR for the solution.

Thanks @traversaro @Neumann-A!

I summited a PR for the solution.

Great, thanks a lot!

Hi @traversaro, thanks for reporting this issue!
This issue has been fixed in #10743, please update vcpkg and rebuild openssl.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasjuang picture jasjuang  路  3Comments

pakdel picture pakdel  路  3Comments

oahzuw picture oahzuw  路  3Comments

spindensity picture spindensity  路  3Comments

angelmixu picture angelmixu  路  3Comments