Skip to content

Commit e8c1926

Browse files
committed
doc: prevent SGML 'make check' from building temp install
Report by Alvaro Herrera
1 parent 72d422a commit e8c1926

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Makefile.global.in

+2
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,13 @@ check: temp-install
303303

304304
.PHONY: temp-install
305305
temp-install:
306+
ifdef GENERATED_SGML # not needed for SGML 'make check'
306307
ifeq ($(MAKELEVEL),0)
307308
rm -rf '$(abs_top_builddir)'/tmp_install
308309
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install
309310
endif
310311
$(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install || exit; done)
312+
endif
311313

312314
PROVE = @PROVE@
313315
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/

0 commit comments

Comments
 (0)