mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'ps/meson-build-docs'
The build procedure based on meson learned a target to only build documentation, similar to "make doc". * ps/meson-build-docs: ci: don't compile whole project when testing docs with Meson meson: print docs backend as part of the summary meson: introduce a "docs" alias to compile documentation only
This commit is contained in:
10
meson.build
10
meson.build
@@ -2101,11 +2101,20 @@ endif
|
||||
|
||||
subdir('bin-wrappers')
|
||||
if get_option('docs') != []
|
||||
doc_targets = []
|
||||
subdir('Documentation')
|
||||
else
|
||||
docs_backend = 'none'
|
||||
endif
|
||||
|
||||
subdir('contrib')
|
||||
|
||||
# Note that the target is intentionally configured after including the
|
||||
# 'contrib' directory, as some tool there also have their own manpages.
|
||||
if get_option('docs') != []
|
||||
alias_target('docs', doc_targets)
|
||||
endif
|
||||
|
||||
exclude_from_check_headers = [
|
||||
'compat/',
|
||||
'unicode-width.h',
|
||||
@@ -2244,6 +2253,7 @@ summary({
|
||||
|
||||
summary({
|
||||
'csprng': csprng_backend,
|
||||
'docs': docs_backend,
|
||||
'https': https_backend,
|
||||
'sha1': sha1_backend,
|
||||
'sha1_unsafe': sha1_unsafe_backend,
|
||||
|
||||
Reference in New Issue
Block a user