OSX/scons: small reorder and spelling
This commit is contained in:
@@ -643,6 +643,8 @@ def AppIt(target=None, source=None, env=None):
|
|||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/datafiles/locale'%(installdir, binary, VERSION)
|
cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/datafiles/locale'%(installdir, binary, VERSION)
|
||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
|
cmd = 'cp -R %s/release/datafiles/fonts %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION)
|
||||||
|
commands.getoutput(cmd)
|
||||||
mo_dir = os.path.join(builddir[:-4], "locale")
|
mo_dir = os.path.join(builddir[:-4], "locale")
|
||||||
for f in os.listdir(mo_dir):
|
for f in os.listdir(mo_dir):
|
||||||
cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/datafiles/locale/%s'%(installdir, binary, VERSION, f[:-3])
|
cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/datafiles/locale/%s'%(installdir, binary, VERSION, f[:-3])
|
||||||
@@ -653,8 +655,6 @@ def AppIt(target=None, source=None, env=None):
|
|||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
cmd = 'cp -R %s/release/datafiles/locale/languages %s/%s.app/Contents/MacOS/%s/datafiles/locale/'%(bldroot, installdir, binary, VERSION)
|
cmd = 'cp -R %s/release/datafiles/locale/languages %s/%s.app/Contents/MacOS/%s/datafiles/locale/'%(bldroot, installdir, binary, VERSION)
|
||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
cmd = 'cp -R %s/release/datafiles/fonts %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION)
|
|
||||||
commands.getoutput(cmd)
|
|
||||||
if env['WITH_BF_OCIO']:
|
if env['WITH_BF_OCIO']:
|
||||||
cmd = 'cp -R %s/release/datafiles/colormanagement %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION)
|
cmd = 'cp -R %s/release/datafiles/colormanagement %s/%s.app/Contents/MacOS/%s/datafiles/'%(bldroot,installdir,binary,VERSION)
|
||||||
commands.getoutput(cmd)
|
commands.getoutput(cmd)
|
||||||
|
@@ -60,7 +60,7 @@ if env['WITH_BF_INTERNATIONAL']:
|
|||||||
msgfmt_tool = env.Clone()
|
msgfmt_tool = env.Clone()
|
||||||
targetpath = root_build_dir + '/msgfmt'
|
targetpath = root_build_dir + '/msgfmt'
|
||||||
if env['OURPLATFORM'] == 'darwin':
|
if env['OURPLATFORM'] == 'darwin':
|
||||||
msgfmt_tool.Replace( LINKFLAGS = '/usr/lib/libgcc_s.1.dylib /usr/lib/libstdc++.6.dylib /usr/lib/libSystem.B.dylib') # only need this dependencies
|
msgfmt_tool.Replace( LINKFLAGS = '/usr/lib/libgcc_s.1.dylib /usr/lib/libstdc++.6.dylib /usr/lib/libSystem.B.dylib') # only need these dependencies
|
||||||
|
|
||||||
msgfmt_target = msgfmt_tool.Program(target = targetpath, source = ['msgfmt.cc'])
|
msgfmt_target = msgfmt_tool.Program(target = targetpath, source = ['msgfmt.cc'])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user