Skip to content

Commit ddcab2a

Browse files
committed
meson: docs: Add {html,man} targets, rename install-doc-*
We have toplevel html, man targets in the autoconf build as well. It'd be odd to have an 'html' target but have the install target be 'install-doc-html', thus rename the install targets to match. Reviewed-by: Christoph Berg <myon@debian.org> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de
1 parent ad57c2a commit ddcab2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/meson.build

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ if docs_dep.found()
142142
'--install-dir-contents', dir_doc_html, html],
143143
build_always_stale: true, build_by_default: false,
144144
)
145-
alias_target('install-doc-html', install_doc_html)
145+
alias_target('html', html)
146+
alias_target('install-html', install_doc_html)
146147

147148
# build and install multi-page html docs as part of docs target
148149
docs += html
@@ -231,7 +232,8 @@ if docs_dep.found()
231232
'--install-dirs', dir_man, '@INPUT@'],
232233
build_always_stale: true, build_by_default: false,
233234
)
234-
alias_target('install-doc-man', install_doc_man)
235+
alias_target('man', man)
236+
alias_target('install-man', install_doc_man)
235237

236238
# even though we don't want to build man pages as part of 'docs', we do want
237239
# to install them as part of install-docs

0 commit comments

Comments
 (0)