Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
776d9651
Commit
776d9651
authored
Nov 02, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to run 'make installcheck' in contrib when building
outside the source tree.
parent
66a03b06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
contrib/contrib-global.mk
contrib/contrib-global.mk
+19
-1
No files found.
contrib/contrib-global.mk
View file @
776d9651
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
4 2002/11/01 23:45:37
tgl Exp $
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
5 2002/11/02 00:16:21
tgl Exp $
# This file contains generic rules to build many kinds of simple
# This file contains generic rules to build many kinds of simple
# contrib modules. You only need to set a few variables and include
# contrib modules. You only need to set a few variables and include
...
@@ -185,6 +185,24 @@ distclean maintainer-clean: clean
...
@@ -185,6 +185,24 @@ distclean maintainer-clean: clean
ifdef
REGRESS
ifdef
REGRESS
# When doing a VPATH build, must copy over the test .sql and .out
# files so that the driver script can find them. We have to use an
# absolute path for the targets, because otherwise make will try to
# locate the missing files using VPATH, and will find them in
# $(srcdir), but the point here is that we want to copy them from
# $(srcdir) to the build directory.
ifdef
VPATH
abs_builddir
:=
$(
shell
pwd
)
test_files_src
:=
$(
wildcard
$(srcdir)
/sql/
*
.sql
)
$(
wildcard
$(srcdir)
/expected/
*
.out
)
$(
wildcard
$(srcdir)
/data/
*
.data
)
test_files_build
:=
$(
patsubst
$(srcdir)
/%,
$(abs_builddir)
/%,
$(test_files_src)
)
all
:
$(test_files_build)
$(test_files_build)
:
$(abs_builddir)/%: $(srcdir)/%
ln
-s
$<
$@
endif
# VPATH
.PHONY
:
submake
.PHONY
:
submake
submake
:
submake
:
$(MAKE)
-C
$(top_builddir)
/src/test/regress pg_regress
$(MAKE)
-C
$(top_builddir)
/src/test/regress pg_regress
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment