Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 100e9ae

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/6a421136-d462-b043-a8eb-e75b2861f3df@dunslane.net
1 parent d047708 commit 100e9ae

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

GNUmakefile.in

Lines changed: 10 additions & 0 deletions
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

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

@@ -551,6 +560,12 @@ build-postgresql:
551560
This also installs the documentation.
552561
</para>
553562

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

0 commit comments

Comments
 (0)