Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
776d9651
Commit
776d9651
authored
22 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Make it possible to run 'make installcheck' in contrib when building
outside the source tree.
parent
66a03b06
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/contrib-global.mk
+19
-1
19 additions, 1 deletion
contrib/contrib-global.mk
with
19 additions
and
1 deletion
contrib/contrib-global.mk
+
19
−
1
View file @
776d9651
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
4
2002/11/0
1 23:45:37
tgl Exp $
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
5
2002/11/0
2 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment