mirror of
https://github.com/git/git.git
synced 2026-01-09 17:46:37 +00:00
meson: make GIT_HTML_PATH configurable
Makefile-based builds can configure Git's internal HTML_PATH by defining
htmldir, which is useful for packagers that put documentation in
different locations. Gentoo, for example, uses version-suffixed
directories like ${prefix}/share/doc/git-2.51 and puts the HTML
documentation in an 'html' subdirectory of the same.
Propagate the same configuration knob to Meson-based builds so that
"git --html-path" on such systems can be configured to output the
correct directory.
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
7f278e958a
commit
d63417e3ad
@@ -1,4 +1,6 @@
|
||||
# Configuration for Git installation
|
||||
option('htmldir', type: 'string', value: '',
|
||||
description: 'Directory to install HTML docs to. Defaults to <datadir>/doc/git-doc')
|
||||
option('perllibdir', type: 'string', value: '',
|
||||
description: 'Directory to install perl lib to. Defaults to <datadir>/perl5')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user