diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-11-10 09:28:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-11-10 09:28:22 +0000 |
commit | a50d2a45d72bc4c9178315e52c48072f0f9e3d72 (patch) | |
tree | e3d3684899c066d81edb02e104cb10db4b117054 /lib/Makefile.am | |
parent | 17a834bc63b2781aefcef1fc2213877053ba1873 (diff) | |
download | curl-a50d2a45d72bc4c9178315e52c48072f0f9e3d72.tar.gz |
Generate the ca-bundle.h file in the build dir and not in the source dir,
which works nicely since the build dir is before the source dir in the
include path.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 5b5d8732a..da54713a0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -85,7 +85,7 @@ http_ntlm.c http_ntlm.h ca-bundle.h inet_pton.c inet_pton.h noinst_HEADERS = setup.h transfer.h -BUILT_SOURCES = $(srcdir)/getdate.c $(srcdir)/ca-bundle.h +BUILT_SOURCES = $(srcdir)/getdate.c $(top_builddir)/lib/ca-bundle.h # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule. $(srcdir)/getdate.c: getdate.y @@ -93,7 +93,7 @@ $(srcdir)/getdate.c: getdate.y $(YACC) $(YFLAGS) getdate.y; \ mv -f y.tab.c getdate.c -$(srcdir)/ca-bundle.h: Makefile.in Makefile +$(top_builddir)/lib/ca-bundle.h: Makefile.in Makefile @if test -f $@; then \ chmod 0644 $@; \ fi |