Add a temp-install prerequisite to "check"-like targets not having one.

Noah Misch <noah@leadboat.com>

Commit: c66b438db62748000700c9b90b585e756dd54141
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-06T02:51:08Z
Releases: 11.0
Add a temp-install prerequisite to "check"-like targets not having one.

Makefile.global assigns this prerequisite to every target named "check",
but similar targets must mention it explicitly.  Affected targets
failed, tested $PATH binaries, or tested a stale temporary installation.
The src/test/modules examples worked properly when called as "make -C
src/test/modules/$FOO check", but "make -j" allowed the test to start
before the temporary installation was in place.  Back-patch to 9.5,
where commit dcae5faccab64776376d354decda0017c648bb53 introduced the
shared temp-install.

Files