Skip to content

Commit b8c4261

Browse files
committed
Add new make targets world-bin and install-world-bin
These are the same as world and install-world respectively, but without building or installing the documentation. There are many reasons for wanting to be able to do this, including speed, lack of documentation building tools, and wanting to build other formats of the documentation. Plans for simplifying the buildfarm client code include using these targets. Backpatch to all live branches. Discussion: https://postgr.es/m/[email protected]
1 parent b741f4c commit b8c4261

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

GNUmakefile.in

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ world:
2323
# build src/ before contrib/
2424
world-contrib-recurse: world-src-recurse
2525

26+
$(call recurse,world-bin,src config contrib,all)
27+
28+
# build src/ before contrib/
29+
world-bin-contrib-recurse: world-bin-src-recurse
30+
2631
html man:
2732
$(MAKE) -C doc $@
2833

@@ -39,6 +44,11 @@ install-world:
3944
# build src/ before contrib/
4045
install-world-contrib-recurse: install-world-src-recurse
4146

47+
$(call recurse,install-world-bin,src config contrib,install)
48+
49+
# build src/ before contrib/
50+
install-world-bin-contrib-recurse: install-world-bin-src-recurse
51+
4252
$(call recurse,installdirs uninstall init-po update-po,doc src config)
4353

4454
$(call recurse,distprep coverage,doc src config contrib)

doc/src/sgml/installation.sgml

+15
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,15 @@ All of PostgreSQL successfully made. Ready to install.
473473
The last line displayed should be:
474474
<screen>
475475
PostgreSQL, contrib, and documentation successfully made. Ready to install.
476+
</screen>
477+
</para>
478+
479+
<para>
480+
If you want to build everything that can be built, including the
481+
additional modules (<filename>contrib</filename>), but without
482+
the documentation, type instead:
483+
<screen>
484+
<userinput>make world-bin</userinput>
476485
</screen>
477486
</para>
478487

@@ -552,6 +561,12 @@ build-postgresql:
552561
This also installs the documentation.
553562
</para>
554563

564+
<para>
565+
If you built the world without the documentation above, type instead:
566+
<screen>
567+
<userinput>make install-world-bin</userinput>
568+
</para>
569+
555570
<para>
556571
You can use <literal>make install-strip</literal> instead of
557572
<literal>make install</literal> to strip the executable files and

0 commit comments

Comments
 (0)