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

Commit c71471c

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 a40f8ea commit c71471c

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
@@ -1624,6 +1624,15 @@ All of PostgreSQL successfully made. Ready to install.
16241624
The last line displayed should be:
16251625
<screen>
16261626
PostgreSQL, contrib, and documentation successfully made. Ready to install.
1627+
</screen>
1628+
</para>
1629+
1630+
<para>
1631+
If you want to build everything that can be built, including the
1632+
additional modules (<filename>contrib</filename>), but without
1633+
the documentation, type instead:
1634+
<screen>
1635+
<userinput>make world-bin</userinput>
16271636
</screen>
16281637
</para>
16291638

@@ -1703,6 +1712,12 @@ build-postgresql:
17031712
This also installs the documentation.
17041713
</para>
17051714

1715+
<para>
1716+
If you built the world without the documentation above, type instead:
1717+
<screen>
1718+
<userinput>make install-world-bin</userinput>
1719+
</para>
1720+
17061721
<para>
17071722
You can use <literal>make install-strip</literal> instead of
17081723
<literal>make install</literal> to strip the executable files and

0 commit comments

Comments
 (0)