Fix VPATH builds for src/test/ssl targets

Commit b4c4a00ea refactored the gist of the sslfiles target into a
separate makefile in order to override settings in Makefile.global.
The invocation of this this file didn't however include the absolute
path for VPATH builds, resulting in "make clean" failing. Fix by
providing the path to the new makefile.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20211026174152.jjcagswnbhxu7uqz@alap3.anarazel.de
This commit is contained in:
Daniel Gustafsson 2021-10-27 21:49:48 +02:00
parent a5213adf3d
commit 349cd8c582

View File

@ -19,11 +19,11 @@ export with_ssl
# with settings in Makefile.global.
.PHONY: sslfiles sslfiles-clean
sslfiles sslfiles-clean:
$(MAKE) -f sslfiles.mk $@
$(MAKE) -f $(srcdir)/sslfiles.mk $@
clean distclean maintainer-clean:
rm -rf tmp_check
$(MAKE) -f sslfiles.mk $@
$(MAKE) -f $(srcdir)/sslfiles.mk $@
# Doesn't depend on sslfiles because we don't rebuild them by default
check: