From 9b94e3696e7b6c7c13db3e593d0fa471c3bce9bc Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: 2010年5月28日 18:04:36 +0000 Subject: [PATCH] Document use of VPATH builds. David Fetter --- doc/src/sgml/installation.sgml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 22a8a6fba18..90f674905bb 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%standalone-include[<productname>PostgreSQL</strong>]]> @@ -542,9 +542,18 @@ su - postgres This script will run a number of tests to determine values for various system dependent variables and detect any quirks of your operating system, and finally will create several files in the - build tree to record what it found. (You can also run + build tree to record what it found. You can also run <filename>configure</filename> in a directory outside the source - tree if you want to keep the build directory separate.) + tree, if you want to keep the build directory separate. This + procedure is also called a + <indexterm><primary>VPATH</primary></indexterm><firstterm>VPATH</firstterm> + build. Here's how: +<screen> +<userinput>mkdir build_dir</userinput> +<userinput>cd build_dir</userinput> +<userinput>/path/to/source/tree/configure [options go here]</userinput> +<userinput>gmake</userinput> +</screen> </para> <para> -- 2.39.5 </div><div class="naked_ctrl"> <form action="/index.cgi/contrast" method="get" name="gate"> <p><a href="http://altstyle.alfasado.net">AltStyle</a> によって変換されたページ <a href="https://git.postgresql.org/gitweb/?a=patch&h=9b94e3696e7b6c7c13db3e593d0fa471c3bce9bc&p=postgresql.git">(->オリジナル)</a> / <label>アドレス: <input type="text" name="naked_post_url" value="https://git.postgresql.org/gitweb/?a=patch&h=9b94e3696e7b6c7c13db3e593d0fa471c3bce9bc&p=postgresql.git" size="22" /></label> <label>モード: <select name="naked_post_mode"> <option value="default">デフォルト</option> <option value="speech">音声ブラウザ</option> <option value="ruby">ルビ付き</option> <option value="contrast" selected="selected">配色反転</option> <option value="larger-text">文字拡大</option> <option value="mobile">モバイル</option> </select> <input type="submit" value="表示" /> </p> </form> </div>