|
|
|
@ -1167,12 +1167,12 @@ include $(PGXS) |
|
|
|
|
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>make -f /path/to/extension/source/tree/Makefile</userinput> |
|
|
|
|
<userinput>make -f /path/to/extension/source/tree/Makefile install</userinput> |
|
|
|
|
</screen> |
|
|
|
|
<programlisting> |
|
|
|
|
mkdir build_dir |
|
|
|
|
cd build_dir |
|
|
|
|
make -f /path/to/extension/source/tree/Makefile |
|
|
|
|
make -f /path/to/extension/source/tree/Makefile install |
|
|
|
|
</programlisting> |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
@ -1181,10 +1181,10 @@ include $(PGXS) |
|
|
|
|
core script <filename>config/prep_buildtree</>. Once this has been done |
|
|
|
|
you can build by setting the <literal>make</literal> variable |
|
|
|
|
<varname>USE_VPATH</varname> like this: |
|
|
|
|
<screen> |
|
|
|
|
<userinput>make USE_VPATH=/path/to/extension/source/tree</userinput> |
|
|
|
|
<userinput>make USE_VPATH=/path/to/extension/source/tree install</userinput> |
|
|
|
|
</screen> |
|
|
|
|
<programlisting> |
|
|
|
|
make USE_VPATH=/path/to/extension/source/tree |
|
|
|
|
make USE_VPATH=/path/to/extension/source/tree install |
|
|
|
|
</programlisting> |
|
|
|
|
This procedure can work with a greater variety of directory layouts. |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|