Web lists-archives.com

Re: How to disable docs when building Git from sources




Am 25.03.19 um 07:40 schrieb Jeffrey Walton:
> I'm working on a low-resource dev-board. It is missing a lot of
> utilities to save space. I'm building Git 2.20 from sources. Make is
> failing due to '/bin/sh: 1: msgfmt: not found'. I don't cross-compile
> because that's a bigger pain in the ass than waiting for the native
> build to finish.
> 
> I ran './configure --help' but I don't see a way to disable the docs.
> In the past I tired --disable-docs but it had no effect.
> 
> How do I disable the docs?

These are message translations, not documentation. To disable them, set

NO_GETTEXT=Yes

in your config.mak.

-- Hannes