On OS X, create a release dmg if bundle=True like on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5513 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d0a79d8cd1
commit
0119497f3a
18
SConstruct
18
SConstruct
|
@ -501,11 +501,15 @@ else:
|
||||||
env.Alias('install', env['prefix'])
|
env.Alias('install', env['prefix'])
|
||||||
|
|
||||||
if env['bundle']:
|
if env['bundle']:
|
||||||
# Make tar ball (TODO put inside normal dir)
|
if sys.platform == 'linux2':
|
||||||
tar_env = env.Clone()
|
# Make tar ball (TODO put inside normal dir)
|
||||||
tarball = tar_env.Tar('dolphin-'+rev +'.tar.bz2', env['prefix'])
|
tar_env = env.Clone()
|
||||||
tar_env.Append(TARFLAGS='-j',
|
tarball = tar_env.Tar('dolphin-'+rev +'.tar.bz2', env['prefix'])
|
||||||
TARCOMSTR="Creating release tarball")
|
tar_env.Append(TARFLAGS='-j', TARCOMSTR="Creating release tarball")
|
||||||
|
elif sys.platform == 'darwin':
|
||||||
|
env.Command('.', env['binary_dir'] +
|
||||||
|
'Dolphin.app/Contents/MacOS/Dolphin', './osx_make_dmg.sh')
|
||||||
|
|
||||||
#TODO clean all bundles
|
#TODO clean all bundles
|
||||||
#env.Clean(all, 'dolphin-*' + '.tar.bz2', 'Binary/Dolphin-r*' + '.dmg')
|
#env.Clean(all, 'dolphin-*' + '.tar.bz2')
|
||||||
|
#env.Clean(all, 'Binary/Dolphin-r*' + '.dmg')
|
||||||
|
|
Loading…
Reference in New Issue