summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2021-10-27 19:49:48 +0000
committerDaniel Gustafsson2021-10-27 19:49:48 +0000
commit349cd8c582a1e666c9c804850cf5b532b86cd1b4 (patch)
tree02eafc8fa6f0726cb2a0f67deda1a8df88c3d803
parenta5213adf3d351a31c5f5eae1a756a9d3555dc31c (diff)
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 <[email protected]> Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/test/ssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ssl/Makefile b/src/test/ssl/Makefile
index 3592c0d184..cb24e31c6e 100644
--- a/src/test/ssl/Makefile
+++ b/src/test/ssl/Makefile
@@ -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: