Skip to content

Commit 9e5b2a0

Browse files
committed
docs: meson: Change what 'docs' target builds
This undoes the change in what the 'docs' target builds 969509c. Tom was concerned with having a target to just build the html docs, which a prior commit now provided explicitly. A subsequent commit will overhaul the documentation for the documentation targets. While at it, move all target in doc/src/sgml/Makefile up to just after the default "html" target, and add a comment explaining "all" is *not* the default target. Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/20230209203855.njrepiupc3rmehfw@awork3.anarazel.de Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de
1 parent ddcab2a commit 9e5b2a0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/src/sgml/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# Make "html" the default target, since that is what most people tend
1616
# to want to use.
1717
html:
18+
# Note that all is *not* the default target in this directory
19+
all: html man
1820

1921
# We don't need the tree-wide headers or install support here.
2022
NO_GENERATED_HEADERS=yes
@@ -25,8 +27,6 @@ top_builddir = ../../..
2527
include $(top_builddir)/src/Makefile.global
2628

2729

28-
all: html man
29-
3030

3131
ifndef DBTOEPUB
3232
DBTOEPUB = $(missing) dbtoepub

doc/src/sgml/docguide.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ LOGLEVEL=-Dorg.apache.commons.logging.simplelog.defaultlog=WARN
442442
<para>
443443
To build just the <acronym>HTML</acronym> version of the documentation:
444444
<screen>
445-
<prompt>build$ </prompt><userinput>ninja docs</userinput>
445+
<prompt>build$ </prompt><userinput>ninja html</userinput>
446446
</screen>
447447
To build all forms of the documentation:
448448
<screen>

doc/src/sgml/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ if docs_dep.found()
235235
alias_target('man', man)
236236
alias_target('install-man', install_doc_man)
237237

238-
# even though we don't want to build man pages as part of 'docs', we do want
239-
# to install them as part of install-docs
238+
# built and installed as part of the the docs target
240239
installdocs += install_doc_man
240+
docs += man
241241
endif
242242

243243

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy