diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/scons/bs/bs_dirs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/scons/bs/bs_dirs.py b/tools/scons/bs/bs_dirs.py index 224a95afe57..056bf19cd91 100644 --- a/tools/scons/bs/bs_dirs.py +++ b/tools/scons/bs/bs_dirs.py @@ -79,6 +79,16 @@ def preparedist(): if os.path.isdir("dist/.blender/scripts"): shutil.rmtree("dist/.blender/scripts") + if os.path.isdir("dist/plugins"): + shutil.rmtree("dist/plugins") + + os.makedirs("dist/plugins/include") + shutil.copy("source/blender/blenpluginapi/documentation.h", "dist/plugins/include/documentation.h") + shutil.copy("source/blender/blenpluginapi/floatpatch.h", "dist/plugins/include/floatpatch.h") + shutil.copy("source/blender/blenpluginapi/iff.h", "dist/plugins/include/iff.h") + shutil.copy("source/blender/blenpluginapi/plugin.h", "dist/plugins/include/plugin.h") + shutil.copy("source/blender/blenpluginapi/util.h", "dist/plugins/include/util.h") + os.chdir("release") shutil.copytree("scripts/", "../dist/.blender/scripts") |