diff options
author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2025-04-17 00:18:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-16 20:43:43 -0700 |
commit | 214e2c6856b43fb8b053766fe47af12dfe4356e3 (patch) | |
tree | 45c3a8e6bbed4ac57c0e35097554789df2d17be6 /builtin/commit-graph.c | |
parent | 65e3757c240422f4e1ffb8892786a1dfc24894f7 (diff) |
meson.build: set default help format to html on windows
The build variable DEFAULT_HELP_FORMAT has an appropriate default
('man') set in the code, so there is no need to pass the -Define on
the compiler command-line, unless the build requires a non-standard
value.
In addition, on windows the make build overrides the default help
format to 'html', rather than 'man', in the 'config.mak.uname' file.
In order to suppress the -Define on the C compiler command-line, only
add the -Define to the 'libgit_c_args' variable when the requested
value is not the standard 'man'. In order to override the default value
on windows, add a 'platform' value to the 'default_help_format' combo
option and set it as the default choice. When this option is set to
'platform', use the 'host_machine.system()' method call to determine the
appropriate default value for the host system.
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions