From b55781d13c3ef4c0eea6dffcdc195792284c0fce Mon Sep 17 00:00:00 2001 From: TotaJ Date: Wed, 22 Jul 2020 17:15:42 +0800 Subject: [PATCH] Fix 'make install' failed if havn't execute 'make' before it. --- GNUmakefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index afca2d5fd0..c9b5cae34b 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -42,7 +42,9 @@ install_oracle_fdw: endif ifeq ($(enable_multiple_nodes), yes) -install: install_mysql_fdw install_oracle_fdw +install: + $(MAKE) install_mysql_fdw + $(MAKE) install_oracle_fdw $(MAKE) -C contrib/hstore $@ $(MAKE) -C src/distribute/kernel/extension/packages $@ $(MAKE) -C contrib/pagehack $@ @@ -52,7 +54,9 @@ install: install_mysql_fdw install_oracle_fdw $(MAKE) -C src/distribute/kernel/extension/tsdb $@ +@echo "PostgreSQL installation complete." else -install: install_mysql_fdw install_oracle_fdw +install: + $(MAKE) install_mysql_fdw + $(MAKE) install_oracle_fdw +@echo "openGauss installation complete." endif -- Gitee