summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2012-01-06 03:12:28 (GMT)
committerChristian Pointner <equinox@anytun.org>2012-01-06 03:12:28 (GMT)
commite7212d0ae0e2108e3cd734b2ebb74c85f321e298 (patch)
tree66ef132f7c711fcd877c062f5b1183d606ad7ed4
parent5b9ecb685b1c1458ed95ed866ac55b88bee17359 (diff)
added mingw release script
-rwxr-xr-xcontrib/make-mingw-release.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/make-mingw-release.sh b/contrib/make-mingw-release.sh
new file mode 100755
index 0000000..5551c75
--- /dev/null
+++ b/contrib/make-mingw-release.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+VER=`cat ../version`
+
+for target in w32 w64; do
+ mkdir anytun-$VER-$target
+ cp anytun-$target/*.exe anytun-$VER-$target
+ cp boost-$target/lib/libboost_{date_time,serialization,system,thread_win32}.dll anytun-$VER-$target
+ cp openssl-$target/bin/libeay32.dll anytun-$VER-$target
+ cp anytun-example.bat anytun-$VER-$target
+ cp ../{AUTHORS,ChangeLog,LICENSE,README,version} anytun-$VER-$target
+ cp -r tap?? anytun-$VER-$target
+ rm -rf anytun-$VER-$target/tap*/.svn
+
+ zip -r anytun-$VER-$target.zip anytun-$VER-$target
+ rm -rf anytun-$VER-$target
+done
+
+exit 0