aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-06 22:14:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-06 22:14:16 +0000
commit77ba0d3686265862321d82e881ad3cfc4d52cf71 (patch)
tree48d3e4e23026e16c52464ecff66b55988c9912dd
parent065c8d7a95c6999870eb5acf749c004a31afaba0 (diff)
generate the ca-bundle.h in the build dir, and also make sure to chmod
the file in the dist-hook to make distcheck run fine
-rw-r--r--lib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 3a08daee8..719f74261 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -90,8 +90,7 @@ $(srcdir)/getdate.c: getdate.y
$(YACC) $(YFLAGS) getdate.y; \
mv -f y.tab.c getdate.c
-$(srcdir)/ca-bundle.h: Makefile.in Makefile
- cd $(srcdir) && \
+$(top_builddir)/ca-bundle.h: Makefile.in Makefile
echo "/* The file is generated automaticly */" > $@
if CABUNDLE
echo '#define CURL_CA_BUNDLE @CURL_CA_BUNDLE@' >> $@
@@ -108,4 +107,5 @@ install-data-hook:
# this hook is mainly for non-unix systems to build even if configure
# isn't run
dist-hook:
+ chmod 0666 $(distdir)/ca-bundle.h
echo "/* ca bundle path set in here*/" > $(distdir)/ca-bundle.h