forked from bartvdbraak/blender
Make sure plugins/ goes under shortversion/ dir
This commit is contained in:
parent
b6880139e2
commit
c0314f1041
16
SConstruct
16
SConstruct
@ -538,24 +538,24 @@ for tp, tn, tf in os.walk('release/plugins'):
|
|||||||
df = tp[8:] # remove 'release/'
|
df = tp[8:] # remove 'release/'
|
||||||
for f in tf:
|
for f in tf:
|
||||||
pluglist.append(os.path.join(tp, f))
|
pluglist.append(os.path.join(tp, f))
|
||||||
plugtargetlist.append( os.path.join(env['BF_INSTALLDIR'], df, f) )
|
plugtargetlist.append( os.path.join(env['BF_INSTALLDIR'], VERSION, df, f) )
|
||||||
|
|
||||||
|
|
||||||
# header files for plugins
|
# header files for plugins
|
||||||
pluglist.append('source/blender/blenpluginapi/documentation.h')
|
pluglist.append('source/blender/blenpluginapi/documentation.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'documentation.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'documentation.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/externdef.h')
|
pluglist.append('source/blender/blenpluginapi/externdef.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'externdef.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'externdef.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/floatpatch.h')
|
pluglist.append('source/blender/blenpluginapi/floatpatch.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'floatpatch.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'floatpatch.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/iff.h')
|
pluglist.append('source/blender/blenpluginapi/iff.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'iff.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'iff.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/plugin.h')
|
pluglist.append('source/blender/blenpluginapi/plugin.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'plugin.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'plugin.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/util.h')
|
pluglist.append('source/blender/blenpluginapi/util.h')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'util.h'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'util.h'))
|
||||||
pluglist.append('source/blender/blenpluginapi/plugin.DEF')
|
pluglist.append('source/blender/blenpluginapi/plugin.DEF')
|
||||||
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], 'plugins', 'include', 'plugin.def'))
|
plugtargetlist.append(os.path.join(env['BF_INSTALLDIR'], VERSION, 'plugins', 'include', 'plugin.def'))
|
||||||
|
|
||||||
plugininstall = []
|
plugininstall = []
|
||||||
for targetdir,srcfile in zip(plugtargetlist, pluglist):
|
for targetdir,srcfile in zip(plugtargetlist, pluglist):
|
||||||
|
Loading…
Reference in New Issue
Block a user