Clean up shaders on package and no longer final-package by default on Linux

This commit is contained in:
Siana Gearz
2013-11-18 07:45:25 +01:00
parent a5103a1fc1
commit 3b8fbbc827
2 changed files with 5 additions and 7 deletions

View File

@@ -1434,13 +1434,7 @@ if (!DISABLE_TEMPLATE_CHECK)
check_message_template(${VIEWER_BINARY_NAME})
endif (!DISABLE_TEMPLATE_CHECK)
# We package by default on Linux so we can run from newview/packaged.
if (LINUX)
set(PACKAGE_DEFAULT ON)
else (LINUX)
set(PACKAGE_DEFAULT OFF)
endif (LINUX)
set(PACKAGE ${PACKAGE_DEFAULT} CACHE BOOL
set(PACKAGE OFF CACHE BOOL
"Add a package target that builds an installer package.")
if (WINDOWS)

View File

@@ -715,7 +715,11 @@ class DarwinManifest(ViewerManifest):
class LinuxManifest(ViewerManifest):
def construct(self):
import shutil
shutil.rmtree("./packaged/app_settings/shaders", ignore_errors=True);
super(LinuxManifest, self).construct()
self.path("licenses-linux.txt","licenses.txt")
self.path("res/"+self.icon_name(),self.icon_name())