mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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.
This commit is contained in:
@ -87,8 +87,8 @@ regress_data_files = \
|
||||
|
||||
install-tests: all install install-lib installdirs-tests
|
||||
$(MAKE) -C $(top_builddir)/contrib/spi install
|
||||
for file in $(regress_data_files); do \
|
||||
$(INSTALL_DATA) $$file '$(DESTDIR)$(pkglibdir)/regress/'$$file || exit; \
|
||||
for file in $(subst $(srcdir)/,,$(regress_data_files)); do \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file '$(DESTDIR)$(pkglibdir)/regress/'$$file || exit; \
|
||||
done
|
||||
|
||||
installdirs-tests: installdirs
|
||||
|
Reference in New Issue
Block a user