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

Commitaf4ea50

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 parent4cad253 commitaf4ea50

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
@@ -87,8 +87,8 @@ regress_data_files = \
8787

8888
install-tests: all install install-lib installdirs-tests
8989
$(MAKE) -C$(top_builddir)/contrib/spi install
90-
forfilein$(regress_data_files);do \
91-
$(INSTALL_DATA)$$file'$(DESTDIR)$(pkglibdir)/regress/'$$file||exit;\
90+
forfilein$(subst$(srcdir)/,,$(regress_data_files));do \
91+
$(INSTALL_DATA)$(srcdir)/$$file'$(DESTDIR)$(pkglibdir)/regress/'$$file||exit;\
9292
done
9393

9494
installdirs-tests: installdirs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp