]> granicus.if.org Git - postgresql/commit
pg_upgrade: Avoid check target accidentally breaking make's --output-sync.
authorAndres Freund <andres@anarazel.de>
Tue, 21 May 2019 22:03:27 +0000 (15:03 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 21 May 2019 22:03:53 +0000 (15:03 -0700)
commit5af2e976d72aa345337596cc986237c57e1146b2
treebf7cc705a396e91fe515679dea4a73e08906192e
parent7005389b2ad17258bc3aa0a2427c4eb77fed1d09
pg_upgrade: Avoid check target accidentally breaking make's --output-sync.

When $(MAKE) is present in a rule, make assumes that target is a
submake, and it doesn't need to buffer its output. But in this case
it's a shell script that needs buffered output. Avoid that heuristic,
by referring to $(MAKE) via an indirection.

Discussion: https://postgr.es/m/20190521004717.qsktdsugj3shagco@alap3.anarazel.de
src/bin/pg_upgrade/Makefile