On 02/03/2015 10:00 AM, David Fetter wrote:
On Tue, Feb 03, 2015 at 09:08:45AM -0500, Andrew Dunstan wrote:
On 02/03/2015 08:55 AM, Kevin Grittner wrote:
I run `make -s -j4 world` on my i7 fairly often, and it is often
the doc build that I wind up waiting for at the end.
I realize this is slightly OT, but I wonder if it might be worth having
targets that build and install everything but the docs.
That'd be great.




Here's a tiny patch for that

cheers

andrew




diff --git a/GNUmakefile.in b/GNUmakefile.in
index 69e0824..c32701f 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -23,6 +23,13 @@ world:
 # build src/ before contrib/
 world-contrib-recurse: world-src-recurse
 
+$(call recurse,binworld,src config contrib,all)
+binworld:
+	+@echo "PostgreSQL and contrib successfully made. Ready to install."
+
+# build src/ before contrib/
+binworld-contrib-recurse: binworld-src-recurse
+
 html man:
 	$(MAKE) -C doc $@
 
@@ -39,6 +46,13 @@ install-world:
 # build src/ before contrib/
 install-world-contrib-recurse: install-world-src-recurse
 
+$(call recurse,install-binworld,src config contrib,install)
+install-binworld:
+	+@echo "PostgreSQL and contrib installation complete."
+
+# build src/ before contrib/
+install-binworld-contrib-recurse: install-binworld-src-recurse
+
 $(call recurse,installdirs uninstall coverage init-po update-po,doc src config)
 
 $(call recurse,distprep,doc src config contrib)
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to