From daea056210b51010a6d92a616b6521870f996bc9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Mon, 7 Oct 2002 09:04:50 +0000 Subject: [PATCH] Kevin Roth pointed out that 'make install' failed if built outside the sourcedir if we're not using $(srcdir) properly. --- lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 2c6cfbfc45..746748537c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -73,7 +73,7 @@ $(srcdir)/getdate.c: getdate.y install-data-hook: @if test -n "@CURL_CA_BUNDLE@"; then \ $(mkinstalldirs) `dirname $(DESTDIR)@CURL_CA_BUNDLE@`; \ - @INSTALL_DATA@ ca-bundle.crt $(DESTDIR)@CURL_CA_BUNDLE@; \ + @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)@CURL_CA_BUNDLE@; \ fi # this hook is mainly for non-unix systems to build even if configure -- GitLab