File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -1180,10 +1180,10 @@ make -f /path/to/extension/source/tree/Makefile install
11801180 way to how it is done for the core code. One way to do this is using the
11811181 core script <filename>config/prep_buildtree</>. Once this has been done
11821182 you can build by setting the <literal>make</literal> variable
1183- <varname>USE_VPATH </varname> like this:
1183+ <varname>VPATH </varname> like this:
11841184<programlisting>
1185- make USE_VPATH =/path/to/extension/source/tree
1186- make USE_VPATH =/path/to/extension/source/tree install
1185+ make VPATH =/path/to/extension/source/tree
1186+ make VPATH =/path/to/extension/source/tree install
11871187</programlisting>
11881188 This procedure can work with a greater variety of directory layouts.
11891189 </para>
Original file line number Diff line number Diff line change @@ -63,11 +63,10 @@ top_builddir := $(dir $(PGXS))../..
6363include $(top_builddir ) /src/Makefile.global
6464
6565top_srcdir = $(top_builddir )
66- # If USE_VPATH is set or Makefile is not in current directory we are building
67- # the extension with VPATH so we set the variable here
68- ifdef USE_VPATH
69- srcdir = $(USE_VPATH )
70- VPATH = $(USE_VPATH )
66+ # If VPATH is set or Makefile is not in current directory we are building
67+ # the extension with VPATH so we set the variable here.
68+ ifdef VPATH
69+ srcdir = $(VPATH )
7170else
7271ifeq ($(CURDIR ) ,$(dir $(firstword $(MAKEFILE_LIST ) ) ) )
7372srcdir = .
You can’t perform that action at this time.
0 commit comments