]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
added ca-bundle target to main makefile;
authorGunter Knauf <gk@gknw.de>
Fri, 8 Feb 2008 02:57:27 +0000 (02:57 +0000)
committerGunter Knauf <gk@gknw.de>
Fri, 8 Feb 2008 02:57:27 +0000 (02:57 +0000)
for now this does rename the existing ca-bundle.crt to ca-bundle.crt.old;
maybe we can remove this once we are 100% sure that the new script works properly, and just overwrite the shipping one?

Makefile.dist

index f7d6f50584b23a13407979b2d3afa5b2de45577b..49789841361c0e4c9e15e048f69268c487075381 100644 (file)
@@ -257,6 +257,13 @@ linux: all
 linux-ssl: ssl
 
 vc8:
-       echo "generate VC8 makefiles"
-       sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
-       sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
+       @echo "generate VC8 makefiles"
+       @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" lib/Makefile.vc6 > lib/Makefile.vc8
+       @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/wsock32.lib/wsock32.lib bufferoverflowu.lib/g" -e "s/VC6/VC8/g" src/Makefile.vc6 > src/Makefile.vc8
+
+ca-bundle: lib/mk-ca-bundle.pl
+       @echo "generate a fresh ca-bundle.crt"
+       @mv -v lib/ca-bundle.crt lib/ca-bundle.crt.old
+       @perl $< -l -u lib/ca-bundle.crt
+
+