Commit 8f2a8ee5 authored by Victor Yacovlev's avatar Victor Yacovlev

Conditional 3rd-party directories handling in dist creation

parent 4f394a8a
......@@ -37,8 +37,16 @@ Section "Kumir" Kumir
File /r lib\*
SetOutPath "$INSTDIR\share"
File /r share\*
SetOutPath "$INSTDIR\llvm-mingw"
File /r llvm-mingw\*
IfFileExists llvm-mingw\* 0 +3
SetOutPath "$INSTDIR\llvm-mingw"
File /r llvm-mingw\*
IfFileExists python\* 0 +3
SetOutPath "$INSTDIR\python"
File /r python\*
ExecWait '"$INSTDIR\vcredist_x86.exe" /passive'
Delete /REBOOTOK "$INSTDIR\vcredist_x86.exe"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment