File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ OBJS = check.o controldata.o dump.o exec.o file.o function.o info.o \
1414override CPPFLAGS := -DDLSUFFIX=\"$(DLSUFFIX ) \" -I$(srcdir ) -I$(libpq_srcdir ) $(CPPFLAGS )
1515LDFLAGS_INTERNAL += -L$(top_builddir ) /src/fe_utils -lpgfeutils $(libpq_pgport )
1616
17+ ifdef NO_TEMP_INSTALL
18+ tbindir=$(abs_top_builddir)/tmp_install/$(bindir)
19+ tlibdir=$(abs_top_builddir)/tmp_install/$(libdir)
20+ DOINST =
21+ else
22+ tbindir=$(bindir)
23+ tlibdir=$(libdir)
24+ DOINST = --install
25+ endif
1726
1827all : pg_upgrade
1928
@@ -37,7 +46,7 @@ clean distclean maintainer-clean:
3746 pg_upgrade_dump_* .custom pg_upgrade_* .log
3847
3948check : test.sh all
40- MAKE=$(MAKE ) bindir=$( bindir ) libdir=$( libdir ) EXTRA_REGRESS_OPTS=" $( EXTRA_REGRESS_OPTS) " $(SHELL ) $< --install
49+ MAKE=$(MAKE ) bindir=" $( tbindir ) " libdir=" $( tlibdir ) " EXTRA_REGRESS_OPTS=" $( EXTRA_REGRESS_OPTS) " $(SHELL ) $< $( DOINST )
4150
4251# installcheck is not supported because there's no meaningful way to test
4352# pg_upgrade against a single already-running server
You can’t perform that action at this time.
0 commit comments