From 8226f503ef15eb1d36f37e8cfd11e81db3e831d9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 30 Aug 2004 21:25:27 +0000 Subject: [PATCH] Rather than referring to src/tutorial/README, put the build instructions for the tutorial files right here. --- doc/src/sgml/query.sgml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml index bbf5c7a780..7e7ad49492 100644 --- a/doc/src/sgml/query.sgml +++ b/doc/src/sgml/query.sgml @@ -1,5 +1,5 @@ @@ -28,9 +28,18 @@ $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.37 2004/08/08 21:33:11 tgl Exp $ Examples in this manual can also be found in the PostgreSQL source distribution - in the directory src/tutorial/. Refer to the - README file in that directory for how to use - them. To start the tutorial, do the following: + in the directory src/tutorial/. To use those + files, first change to that directory and run make: + + +$ cd ..../src/tutorial +$ make + + + This creates the scripts and compiles the C files containing user-defined + functions and types. (You must use GNU make for this --- it may be named + something different on your system, often gmake.) + Then, to start the tutorial, do the following: $ cd ..../src/tutorial