From: Daniel Stenberg Date: Mon, 7 Oct 2002 09:04:50 +0000 (+0000) Subject: Kevin Roth pointed out that 'make install' failed if built outside the X-Git-Tag: curl-7_10_1~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daea056210b51010a6d92a616b6521870f996bc9;p=thirdparty%2Fcurl.git Kevin Roth pointed out that 'make install' failed if built outside the sourcedir if we're not using $(srcdir) properly. --- 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