Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb9795e

Browse files
committed
Make install-tests target work with vpath builds
Also add a top-level install-tests target.Backpatch to all live branches.Craig Ringer, tweaked by me.
1 parent43d3d73 commitcb9795e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎GNUmakefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ $(call recurse,check-world,src/test src/pl src/interfaces/ecpg contrib src/bin,c
7272
$(call recurse,checkprep, src/test src/pl src/interfaces/ecpg contrib src/bin)
7373

7474
$(call recurse,installcheck-world,src/test src/pl src/interfaces/ecpg contrib src/bin,installcheck)
75+
$(call recurse,install-tests,src/test/regress,install-tests)
7576

7677
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
7778
./config.status $@

‎src/test/regress/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ regress_data_files = \
8585

8686
install-tests: all install install-lib installdirs-tests
8787
$(MAKE) -C$(top_builddir)/contrib/spi install
88-
forfilein$(regress_data_files);do \
89-
$(INSTALL_DATA)$$file'$(DESTDIR)$(pkglibdir)/regress/'$$file||exit;\
88+
forfilein$(subst$(srcdir)/,,$(regress_data_files));do \
89+
$(INSTALL_DATA)$(srcdir)/$$file'$(DESTDIR)$(pkglibdir)/regress/'$$file||exit;\
9090
done
9191

9292
installdirs-tests: installdirs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp