This hack closes a race condition in "make -j check-world" and "make -j
installcheck-world".  Back-patch to v10, before which these parallel
invocations had worse problems.
Discussion: https://postgr.es/m/
20171106080752.GA1298146@rfd.leadboat.com
 
        pl \
        makefiles \
        test/regress \
+       test/isolation \
        test/perl
 
 # There are too many interdependencies between the subdirectories, so
 
 
 all: isolationtester$(X) pg_isolation_regress$(X)
 
+# Though we don't install these binaries, build them during installation
+# (including temp-install).  Otherwise, "make -j check-world" and "make -j
+# installcheck-world" would spawn multiple, concurrent builds in this
+# directory.  Later builds would overwrite files while earlier builds are
+# reading them, causing occasional failures.
+install: | all
+
 submake-regress:
        $(MAKE) -C $(top_builddir)/src/test/regress pg_regress.o