In addition to everything built installed and tested by all, install and installcheck targets, these build HTML Docs,
build and test contrib, and test PLs and ECPG.
#
# PostgreSQL top level makefile
#
-# $PostgreSQL: pgsql/GNUmakefile.in,v 1.55 2009/11/03 21:28:10 petere Exp $
+# $PostgreSQL: pgsql/GNUmakefile.in,v 1.56 2010/01/28 23:59:52 adunstan Exp $
#
subdir =
$(MAKE) -C config all
@echo "All of PostgreSQL successfully made. Ready to install."
+world:
+ $(MAKE) -C doc html
+ $(MAKE) -C src all
+ $(MAKE) -C config all
+ $(MAKE) -C contrib all
+ @echo "PostgreSQL, contrib and HTML documentation successfully made. Ready to install."
+
html man:
$(MAKE) -C doc $@
$(MAKE) -C config $@
@echo "PostgreSQL installation complete."
+install-world:
+ $(MAKE) -C doc install
+ $(MAKE) -C src install
+ $(MAKE) -C config install
+ $(MAKE) -C contrib install
+ @echo "PostgreSQL and contrib installation complete."
+
installdirs uninstall coverage:
$(MAKE) -C doc $@
$(MAKE) -C src $@
check installcheck installcheck-parallel:
$(MAKE) -C src/test $@
+installcheck-world:
+ $(MAKE) -C src/test installcheck
+ $(MAKE) -C src/pl installcheck
+ $(MAKE) -C interfaces/ecpg installcheck
+ $(MAKE) -C contrib installcheck
+
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
./config.status $@
# GNUmakefile won't exist yet, so we catch that case as well.
-all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck:
+all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck world install-world installcheck-world:
@if [ ! -f GNUmakefile ] ; then \
echo "You need to run the 'configure' program first. See the file"; \
echo "'INSTALL' for installation instructions." ; \
-
+
Additional Supplied Modules
When building from the source distribution, these modules are not built
- automatically. You can build and install all of them by running:
+ automatically, unless you build the "world" target
+ (see ).
+ You can build and install all of them by running:
gmake
gmake install
-
+
PostgreSQL>]]>
-
+ id="build">
Build
hardware. The last line displayed should be:
All of PostgreSQL is successfully made. Ready to install.
+
+
+
+ If you want to build everything that can be built, including the HTML
+ documentation and the Additional Modules, type instead:
+
+gmake world
+
+ The last line displayed should be:
+
+PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
be granted.
+ If you built the world above, type instead:
+
+gmake install-world
+
+
+
You can use gmake install-strip instead of
gmake install to strip the executable files and