Skip to content

Commit b64579d

Browse files
pks-tgitster
authored andcommitted
meson: print docs backend as part of the summary
Our documentation can be built with either Asciidoc or Asciidoctor as backend. When Meson is configured to build documentation, then it will automatically detect which of these tools is available and use them. It's not obvious to the user though which of these backends is used unless the user explicitly asks for one backend via `-Ddocs_backend=`. Improve the status quo by printing the docs backend as part of the "backends" summary. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 197f0d0 commit b64579d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,6 +2101,8 @@ subdir('bin-wrappers')
21012101
if get_option('docs') != []
21022102
doc_targets = []
21032103
subdir('Documentation')
2104+
else
2105+
docs_backend = 'none'
21042106
endif
21052107

21062108
subdir('contrib')
@@ -2249,6 +2251,7 @@ summary({
22492251

22502252
summary({
22512253
'csprng': csprng_backend,
2254+
'docs': docs_backend,
22522255
'https': https_backend,
22532256
'sha1': sha1_backend,
22542257
'sha1_unsafe': sha1_unsafe_backend,

0 commit comments

Comments
 (0)