Kevin Roth pointed out that 'make install' failed if built outside the
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Oct 2002 09:04:50 +0000 (09:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Oct 2002 09:04:50 +0000 (09:04 +0000)
sourcedir if we're not using $(srcdir) properly.

lib/Makefile.am

index 2c6cfbfc458a6f24c2caa8c54404ebc65e361496..746748537c5f7c54e75aaccb67a6c4f82dfeaa9c 100644 (file)
@@ -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