diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2005-06-10 12:00:35 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2005-06-10 12:00:35 +0400 |
commit | 79ea5e921ff766f94a27ab31ca09d34adef68ce1 (patch) | |
tree | 1c4b03ba3f28c835f16c7f25049410e4ab079c9b /tools/scons/bs | |
parent | 764e1a30337ab044c0de04af96541e10ccac58da (diff) |
Make sure plugin includes are added to a release
Diffstat (limited to 'tools/scons/bs')
-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") |