about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorAlfred Eriksson <somerunce@gmail.com>2009-01-11 12:49:14 +0000
committerAlfred Eriksson <somerunce@gmail.com>2009-01-11 12:49:14 +0000
commit7bdead04e70e2ed0ad4ee04e12167104a1fecf47 (patch)
tree1d5b8ef8c2ea9ffde566f36787fba0339529d839 /scripts
parentab7ecbcf3f22fc89cd97700c09f935d61d5794fd (diff)
downloadzcatch-7bdead04e70e2ed0ad4ee04e12167104a1fecf47.tar.gz
zcatch-7bdead04e70e2ed0ad4ee04e12167104a1fecf47.zip
adds SDL.dll to the release
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_release.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/make_release.py b/scripts/make_release.py
index b1cc0fc0..ffb8e67e 100644
--- a/scripts/make_release.py
+++ b/scripts/make_release.py
@@ -13,6 +13,7 @@ platform = sys.argv[2]
 exe_ext = ""
 use_zip = 0
 use_gz = 1
+use_sdldll = 0
 use_dmg = 0
 use_bundle = 0
 include_data = True
@@ -35,6 +36,7 @@ if platform == 'win32':
 	exe_ext = ".exe"
 	use_zip = 1
 	use_gz = 0
+	use_sdldll = 1
 if  platform == 'osx':
 	use_dmg = 1
 	use_gz = 0
@@ -62,6 +64,9 @@ print "adding files"
 shutil.copy("readme.txt", package_dir)
 shutil.copy("license.txt", package_dir)
 
+if use_sdldll:
+	shutil.copy("other/sdl/vc2005libs/SDL.dll", package_dir)
+
 if include_data and not use_bundle:
 	os.mkdir(os.path.join(package_dir, "data"))
 	copydir("data", package_dir)