未验证 提交 943a3d22 编写于 作者: T Tingfang Bao 提交者: GitHub

Remove the copydocs target from gpAux/Makefile (#7200)

tracker story here:

  https://www.pivotaltracker.com/story/show/162139588

  When we compile the gpdb, we observer a error in the stdout:

  Error Copying Documentation: /root/gpdb/gpAux/docs/release is not
  present

  We sent a email to confirm with gpdb dev about this issue. and got
  the reply is to remove it completely.
Authored-by: NBob Bao <bbao@pivotal.io>
上级 99153aa6
......@@ -28,7 +28,7 @@ all : devel
.PHONY : autoconf
# Internal functions which are invoked by other rules within this makefile
.PHONY : copydocs mgmtcopy copylibs
.PHONY : mgmtcopy copylibs
.PHONY : greenplum_path RECONFIG HOMEDEP GPROOTDEP GPROOTDEP GPROOTFAIL
.PHONY : gccVersionCheck clients gppkg
......@@ -79,7 +79,6 @@ RELEASE=devel
GPDIR=greenplum-db-$(RELEASE)
PLRDIR=greenplum-plr-$(RELEASE)
CLIENTSDIR=greenplum-clients-$(RELEASE)
GPDOCDIR=$(CURDIR)/docs/release
DISTPATH=$(GPROOT)/$(GPDIR)
CLIENTSDISTPATH=$(GPROOT)/$(CLIENTSDIR)
......@@ -327,7 +326,6 @@ define BUILD_STEPS
#@$(MAKE) mgmtcopy INSTLOC=$(INSTLOC)
@$(MAKE) mkpgbouncer INSTLOC=$(INSTLOC) BUILDDIR=$(BUILDDIR)
@$(MAKE) mkpgbench INSTLOC=$(INSTLOC) BUILDDIR=$(BUILDDIR)
@$(MAKE) copydocs INSTLOC=$(INSTLOC)
@$(MAKE) copylibs INSTLOC=$(INSTLOC)
@$(MAKE) clients INSTLOC=$(INSTLOC) CLIENTSINSTLOC=$(CLIENTSINSTLOC)
@$(MAKE) set_scripts_version INSTLOC=$(CLIENTSINSTLOC)
......@@ -351,7 +349,6 @@ define BUILD_STEPS
cd $(BUILDDIR)/src/bin/gpfdist && $(MAKE) install
@$(MAKE) mgmtcopy INSTLOC=$(INSTLOC)
@$(MAKE) copylibs INSTLOC=$(INSTLOC)
@$(MAKE) copydocs INSTLOC=$(INSTLOC)
if [ "$(findstring hpux_ia64,$(BLD_ARCH))" = "hpux_ia64" ]; then \
cd $(GPMGMT)/bin && $(MAKE) pygresql LDFLAGS="" INSTLOC=$(INSTLOC) ; \
elif [ "$(findstring win,$(BLD_ARCH))" != "win" ]; then \
......@@ -758,22 +755,6 @@ else
$(MAKE) -C extensions/pgbouncer/source install
endif
copydocs :
@if [ ! -d $($INSTLOC)/docs ] ; then mkdir -p $(INSTLOC)/docs; fi
@if [ ! -d $(GPDOCDIR) ] ; then \
echo "Error Copying Documentation: $(GPDOCDIR) is not present"; \
else echo "Copying Documentation" ; \
if [ -d $(INSTLOC)/doc/postgresql/contrib ] ; then \
mkdir -p $(INSTLOC)/docs/contrib ; \
echo "Copying postgresql contrib documentation" ; \
cp -r $(INSTLOC)/doc/postgresql/contrib/* $(INSTLOC)/docs/contrib ; \
fi ; \
fi
@if [ -d $(INSTLOC)/doc ] ; then \
echo "Removing $(INSTLOC)/doc" ; \
rm -rf $(INSTLOC)/doc ; \
fi
mgmtcopy :
#Copy the management utilities
mkdir -p $(INSTLOC)/bin
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册