unnecessary directory creation on OSX
parent
266bc2ea00
commit
72d0cadf5c
|
@ -68,17 +68,6 @@ if sys.platform == 'win32':
|
||||||
install('#dist', ['QtCore4.dll', 'QtGui4.dll', 'QtXml4.dll',
|
install('#dist', ['QtCore4.dll', 'QtGui4.dll', 'QtXml4.dll',
|
||||||
'QtNetwork4.dll', 'QtOpenGL4.dll'], prefix = env['QT4_BINPATH'])
|
'QtNetwork4.dll', 'QtOpenGL4.dll'], prefix = env['QT4_BINPATH'])
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
try:
|
|
||||||
os.mkdir('#Mitsuba.app')
|
|
||||||
os.mkdir('#Mitsuba.app/plugins')
|
|
||||||
os.mkdir('#Mitsuba.app/schema')
|
|
||||||
os.mkdir('#Mitsuba.app/Contents')
|
|
||||||
os.mkdir('#Mitsuba.app/Contents/Frameworks')
|
|
||||||
os.mkdir('#Mitsuba.app/Contents/MacOS')
|
|
||||||
os.nkdir('#Mitsuba.app/Contents/Resources/PreviewSettings.nib')
|
|
||||||
os.mkdir('#Mitsuba.app/Contents/Resources')
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
for i in plugins:
|
for i in plugins:
|
||||||
installTargets += env.Install('#Mitsuba.app/plugins', i)
|
installTargets += env.Install('#Mitsuba.app/plugins', i)
|
||||||
installTargets += env.Install('#Mitsuba.app/schema', '#schema/scene.xsd')
|
installTargets += env.Install('#Mitsuba.app/schema', '#schema/scene.xsd')
|
||||||
|
|
Loading…
Reference in New Issue