From 2fc80e8e8304913c8dd1090bb2976632c0f4a8c3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 12 Feb 2014 17:29:19 -0500 Subject: [PATCH] Rename 'gmake' to 'make' in docs and recommended commands This simplifies the docs and makes it easier to cut/paste command lines. --- contrib/README | 2 +- contrib/pg_upgrade/TESTING | 10 ++--- doc/src/sgml/Makefile | 4 +- doc/src/sgml/contrib.sgml | 8 ++-- doc/src/sgml/docguide.sgml | 22 ++++----- doc/src/sgml/installation.sgml | 67 ++++++++++++---------------- doc/src/sgml/nls.sgml | 4 +- doc/src/sgml/pgupgrade.sgml | 2 +- doc/src/sgml/regress.sgml | 42 ++++++++--------- doc/src/sgml/release-8.3.sgml | 2 +- doc/src/sgml/release-9.2.sgml | 2 +- src/backend/port/ipc_test.c | 2 +- src/interfaces/ecpg/Makefile | 2 +- src/interfaces/ecpg/preproc/Makefile | 2 +- src/pl/plperl/README | 2 +- src/test/isolation/README | 4 +- src/test/locale/README | 4 +- src/test/regress/regressplans.sh | 4 +- src/timezone/Makefile | 4 +- src/timezone/README | 2 +- src/tools/pgindent/README | 8 ++-- src/tutorial/Makefile | 2 +- src/tutorial/README | 2 +- 23 files changed, 96 insertions(+), 107 deletions(-) diff --git a/contrib/README b/contrib/README index b58d0a60e4..5eaeb2451f 100644 --- a/contrib/README +++ b/contrib/README @@ -12,7 +12,7 @@ documentation. When building from the source distribution, these modules are not built automatically, unless you build the "world" target. You can -also build and install them all by running "gmake all" and "gmake +also build and install them all by running "make all" and "make install" in this directory; or to build and install just one selected module, do the same in that module's subdirectory. diff --git a/contrib/pg_upgrade/TESTING b/contrib/pg_upgrade/TESTING index 2043b40ae8..359688c664 100644 --- a/contrib/pg_upgrade/TESTING +++ b/contrib/pg_upgrade/TESTING @@ -10,7 +10,7 @@ specific to each major version of Postgres. Here are the steps needed to create a regression database dump file: 1) Create and populate the regression database in the old cluster - This database can be created by running 'gmake installcheck' from + This database can be created by running 'make installcheck' from src/test/regression. 2) Use pg_dump to dump out the regression database. Use the new @@ -66,18 +66,18 @@ steps: The shell script test.sh in this directory performs more or less this procedure. You can invoke it by running - gmake check + make check or by running - gmake installcheck + make installcheck -if "gmake install" (or "gmake install-world") were done beforehand. +if "make install" (or "make install-world") were done beforehand. When invoked without arguments, it will run an upgrade from the version in this source tree to a new instance of the same version. To test an upgrade from a different version, invoke it like this: - gmake installcheck oldbindir=...otherversion/bin oldsrc=...somewhere/postgresql + make installcheck oldbindir=...otherversion/bin oldsrc=...somewhere/postgresql In this case, you will have to manually eyeball the resulting dump diff for version-specific differences, as explained above. diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 304b3627e0..271c700065 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -234,9 +234,9 @@ INSTALL.html: standalone-install.sgml installation.sgml version.sgml ## XSLT processing ## -# For obscure reasons, gmake 3.81 complains about circular dependencies +# For obscure reasons, GNU make 3.81 complains about circular dependencies # if we try to do "make all" in a VPATH build without the explicit -# $(srcdir) on the postgres.sgml dependency in this rule. gmake bug? +# $(srcdir) on the postgres.sgml dependency in this rule. GNU make bug? postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML) $(OSX) -D. -x lower -i include-xslt-index $< >postgres.xmltmp $(PERL) -p -e 's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;' \ diff --git a/doc/src/sgml/contrib.sgml b/doc/src/sgml/contrib.sgml index 0195916dbf..336ba0c564 100644 --- a/doc/src/sgml/contrib.sgml +++ b/doc/src/sgml/contrib.sgml @@ -26,8 +26,8 @@ (see ). You can build and install all of them by running: -gmake -gmake install +make +make install in the contrib directory of a configured source tree; or to build and install @@ -35,11 +35,11 @@ Many of the modules have regression tests, which can be executed by running: -gmake check +make check before installation or -gmake installcheck +make installcheck once you have a PostgreSQL server running. diff --git a/doc/src/sgml/docguide.sgml b/doc/src/sgml/docguide.sgml index 3cc1d60c49..816375f3e3 100644 --- a/doc/src/sgml/docguide.sgml +++ b/doc/src/sgml/docguide.sgml @@ -581,7 +581,7 @@ checking for osx... osx To build the HTML version of the documentation: -doc/src/sgml$ gmake html +doc/src/sgml$ make html This is also the default target. The output appears in the subdirectory html. @@ -592,14 +592,14 @@ checking for osx... osx stages. If you do not care about the index, and just want to proof-read the output, use draft: -doc/src/sgml$ gmake draft +doc/src/sgml$ make draft To build the documentation as a single HTML page, use: -doc/src/sgml$ gmake postgres.html +doc/src/sgml$ make postgres.html @@ -616,7 +616,7 @@ checking for osx... osx pages, use the commands: cd doc/src/sgml -gmake man +make man @@ -634,11 +634,11 @@ gmake man To generate PostScript via DVI in A4 format: -doc/src/sgml$ gmake postgres-A4.ps +doc/src/sgml$ make postgres-A4.ps In U.S. letter format: -doc/src/sgml$ gmake postgres-US.ps +doc/src/sgml$ make postgres-US.ps @@ -647,11 +647,11 @@ gmake man To make a PDF: -doc/src/sgml$ gmake postgres-A4.pdf +doc/src/sgml$ make postgres-A4.pdf or: -doc/src/sgml$ gmake postgres-US.pdf +doc/src/sgml$ make postgres-US.pdf (Of course you can also make a PDF version from the PostScript, but if you generate PDF @@ -741,7 +741,7 @@ save_size.pdfjadetex = 15000 Generate the RTF version by typing: -doc/src/sgml$ gmake postgres.rtf +doc/src/sgml$ make postgres.rtf @@ -948,7 +948,7 @@ save_size.pdfjadetex = 15000 corresponds to , with some minor changes to account for the different context. To recreate the file, change to the directory doc/src/sgml - and enter gmake INSTALL. + and enter make INSTALL. @@ -966,7 +966,7 @@ save_size.pdfjadetex = 15000 method to just check the correct syntax of the documentation files, which only takes a few seconds: -doc/src/sgml$ gmake check +doc/src/sgml$ make check diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index a4cdf5f104..673ec243ea 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -32,9 +32,9 @@ in a standalone-ignore clause. ./configure -gmake +make su -gmake install +make install adduser postgres mkdir /usr/local/pgsql/data chown postgres /usr/local/pgsql/data @@ -77,14 +77,11 @@ su - postgres GNU make version 3.80 or newer is required; other make programs or older GNU make versions will not work. - GNU make is often installed under - the name gmake; this document will always - refer to it by that name. (On some systems - GNU make is the default tool with the name - make.) To test for GNU + (GNU make is sometimes installed under + the name gmake.) To test for GNU make enter: -gmake --version +make --version @@ -422,7 +419,7 @@ su - postgres mkdir build_dir cd build_dir /path/to/source/tree/configure [options go here] -gmake +make @@ -1441,7 +1438,7 @@ su - postgres source code lines. If you get confused while trying to debug optimized code, recompile the specific files of interest with