doc: prevent SGML 'make check' from building temp install

Report by Alvaro Herrera
This commit is contained in:
Bruce Momjian 2015-05-12 11:01:25 -04:00
parent 72d422a522
commit e8c19263e4

View File

@ -303,11 +303,13 @@ check: temp-install
.PHONY: temp-install
temp-install:
ifdef GENERATED_SGML # not needed for SGML 'make check'
ifeq ($(MAKELEVEL),0)
rm -rf '$(abs_top_builddir)'/tmp_install
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install
endif
$(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install || exit; done)
endif
PROVE = @PROVE@
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/