Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Clitherow <aphex@nildram.co.uk>2004-08-02 01:13:41 +0400
committerSimon Clitherow <aphex@nildram.co.uk>2004-08-02 01:13:41 +0400
commit2a749931ba3ac9470bfd3fa7545a8df4bb587db4 (patch)
tree919be47c576f25d0d822906c4208760628d4875c /SConstruct
parentf1fdc6d608d7c86daee516e9bdfc74f033f1ca9d (diff)
- added missing py scripts to the non-sconsered NSIS installer script
- uninstall files now done semi-automatic for 'scons wininst'
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 7491d6114e7..79d45f3c653 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1492,6 +1492,15 @@ def donsis(env, target, source):
rootstring += "\n\n"
nsis_cnt = string.replace(nsis_cnt, "[ROOTDIRCONTS]", rootstring)
+ # do delete items
+ delrootlist = []
+ for rootitem in rootdir:
+ if os.path.isdir(startdir + "\\dist\\" + rootitem) == 0:
+ delrootlist.append("Delete $INSTDIR\\" + rootitem)
+ delrootstring = string.join(delrootlist, "\n ")
+ delrootstring += "\n"
+ nsis_cnt = string.replace(nsis_cnt, "[DELROOTDIRCONTS]", delrootstring)
+
# do scripts
scriptlist = []
scriptdir = os.listdir(startdir + "\\dist\\.blender\\scripts")