Skip to content
Snippets Groups Projects
Commit 77ba0d36 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 065c8d7a
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment