Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / build_gamedata / processes / cegui / 3_install.py
blobd1d6547adb8f41d694b81fd90ee992e32b9c6bce
1 #!/usr/bin/python
2 #
3 # \file 3_install.py
4 # \brief Install cegui
5 # \date 2009-03-14-17-46-GMT
6 # \author Jan Boon (Kaetemi)
7 # Install cegui
8 #
9 # NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
10 # Copyright (C) 2009-2014 by authors
12 # This program is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Affero General Public License as
14 # published by the Free Software Foundation, either version 3 of the
15 # License, or (at your option) any later version.
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU Affero General Public License for more details.
22 # You should have received a copy of the GNU Affero General Public License
23 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26 import time, sys, os, shutil, subprocess, distutils.dir_util
27 sys.path.append("../../configuration")
29 if os.path.isfile("log.log"):
30 os.remove("log.log")
31 log = open("log.log", "w")
32 from scripts import *
33 from buildsite import *
34 from process import *
35 from tools import *
36 from directories import *
38 printLog(log, "")
39 printLog(log, "-------")
40 printLog(log, "--- Install cegui")
41 printLog(log, "-------")
42 printLog(log, time.strftime("%Y-%m-%d %H:%MGMT", time.gmtime(time.time())))
43 printLog(log, "")
45 printLog(log, ">>> Install cegui imagesets <<<")
46 srcDir = ExportBuildDirectory + "/" + CeguiImagesetBuildDirectory
47 mkPath(log, srcDir)
48 destDir = InstallDirectory + "/" + CeguiImagesetInstallDirectory
49 mkPath(log, destDir)
50 copyFilesNoTreeIfNeeded(log, srcDir, destDir)
52 printLog(log, "")
53 log.close()
56 # end of file