aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-08 02:57:27 +0000
committerGunter Knauf <gk@gknw.de>2008-02-08 02:57:27 +0000
commit5dc1240c49afe84fc3a0174ae87299ed5a4eb766 (patch)
tree2251f4209066dfffb22beabd87c2bfeeee41c457
parentc764331dd9ff198383496e92bbeecab9238e2097 (diff)
added ca-bundle target to main makefile;
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?
-rw-r--r--Makefile.dist13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.dist b/Makefile.dist
index f7d6f5058..497898413 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -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
+
+