aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:34:32 -0600
committerJacek Antonelli2008-12-01 18:13:10 -0600
commit8bc8c5f25823a33cef1a46fbd6fd61410f87c74d (patch)
treeba49105d4a908f33997432679a3e45a56b9984eb /linden/indra/newview/viewer_manifest.py
parentImported license files for libraries and artwork. (diff)
downloadmeta-impy-8bc8c5f25823a33cef1a46fbd6fd61410f87c74d.zip
meta-impy-8bc8c5f25823a33cef1a46fbd6fd61410f87c74d.tar.gz
meta-impy-8bc8c5f25823a33cef1a46fbd6fd61410f87c74d.tar.bz2
meta-impy-8bc8c5f25823a33cef1a46fbd6fd61410f87c74d.tar.xz
Doc packaging moved to platform-independent manifest.
Diffstat (limited to 'linden/indra/newview/viewer_manifest.py')
-rwxr-xr-xlinden/indra/newview/viewer_manifest.py61
1 files changed, 41 insertions, 20 deletions
diff --git a/linden/indra/newview/viewer_manifest.py b/linden/indra/newview/viewer_manifest.py
index bf2c5be..f0b0b8d 100755
--- a/linden/indra/newview/viewer_manifest.py
+++ b/linden/indra/newview/viewer_manifest.py
@@ -99,6 +99,31 @@ class ViewerManifest(LLManifest):
99 self.path("lsl_guide.html") 99 self.path("lsl_guide.html")
100 self.path("gpu_table.txt") 100 self.path("gpu_table.txt")
101 101
102
103 # Gather up the README file, etc.
104 def gather_documents(self):
105 # From the top level directory (imprudence)
106 if self.prefix("../../..", dst=""):
107 self.path("README.txt", "README-Imprudence.txt")
108 self.path("MANIFESTO.txt")
109 self.path("CONTRIBUTE.txt")
110 self.path("ChangeLog.txt")
111 self.end_prefix("../../..")
112
113 # From the linden directory
114 if self.prefix("../..", dst="doc"):
115 self.path("LICENSE-source.txt")
116 self.path("LICENSE-logos.txt", "LICENSE-artwork.txt")
117 self.end_prefix("../..")
118
119 # From the linden/doc directory
120 if self.prefix("../../doc", dst="doc"):
121 self.path("contributions.txt")
122 self.path("GPL-license.txt", "GPL.txt")
123 self.path("FLOSS-exception.txt")
124 self.end_prefix("../../doc")
125
126
102 def login_channel(self): 127 def login_channel(self):
103 """Channel reported for login and upgrade purposes ONLY; 128 """Channel reported for login and upgrade purposes ONLY;
104 used for A/B testing""" 129 used for A/B testing"""
@@ -161,7 +186,13 @@ class WindowsManifest(ViewerManifest):
161 #'../llkdu/relwithdebinfo/llkdu.dll', 186 #'../llkdu/relwithdebinfo/llkdu.dll',
162 #'../../libraries/i686-win32/lib/release/llkdu.dll'), 187 #'../../libraries/i686-win32/lib/release/llkdu.dll'),
163 # dst='llkdu.dll') 188 # dst='llkdu.dll')
164 self.path(src="licenses-win32.txt", dst="licenses.txt") 189
190 self.gather_documents()
191
192 if self.prefix("../..", dst="doc"):
193 self.path("LICENSE-libraries-win32.txt")
194 self.end_prefix("../..")
195
165 196
166 self.path("featuretable.txt") 197 self.path("featuretable.txt")
167 198
@@ -386,7 +417,13 @@ class DarwinManifest(ViewerManifest):
386 self.path("*.tif") 417 self.path("*.tif")
387 self.end_prefix("cursors_mac") 418 self.end_prefix("cursors_mac")
388 419
389 self.path("licenses-mac.txt", dst="licenses.txt") 420 # From the linden directory
421 if self.prefix("../..", dst="doc"):
422 self.path("LICENSE-libraries-mac.txt")
423 self.end_prefix("../..")
424
425 self.gather_documents()
426
390 self.path("featuretable_mac.txt") 427 self.path("featuretable_mac.txt")
391 self.path("SecondLife.nib") 428 self.path("SecondLife.nib")
392 429
@@ -535,29 +572,13 @@ class LinuxManifest(ViewerManifest):
535 self.path("register_secondlifeprotocol.sh") 572 self.path("register_secondlifeprotocol.sh")
536 self.end_prefix("linux_tools") 573 self.end_prefix("linux_tools")
537 574
538 # Top level directory (imprudence) 575 self.gather_documents()
539 if self.prefix("../../..", dst=""):
540 self.path("README.txt", "README-Imprudence.txt")
541 self.path("MANIFESTO.txt")
542 self.path("CONTRIBUTE.txt")
543 self.path("ChangeLog.txt")
544 self.end_prefix("../../..")
545 576
546 # linden directory 577 # From the linden directory
547 if self.prefix("../..", dst="doc"): 578 if self.prefix("../..", dst="doc"):
548 self.path("LICENSE-source.txt")
549 self.path("LICENSE-logos.txt","LICENSE-artwork.txt")
550 self.path("LICENSE-libraries-linux.txt") 579 self.path("LICENSE-libraries-linux.txt")
551 self.end_prefix("../..") 580 self.end_prefix("../..")
552 581
553 # linden/doc directory
554 if self.prefix("../../doc", dst="doc"):
555 self.path("contributions.txt")
556 self.path("GPL-license.txt", "GPL.txt")
557 self.path("FLOSS-exception.txt")
558 self.end_prefix("../../doc")
559
560
561 # Create an appropriate gridargs.dat for this package, denoting required grid. 582 # Create an appropriate gridargs.dat for this package, denoting required grid.
562 self.put_in_file(self.flags_list(), 'gridargs.dat') 583 self.put_in_file(self.flags_list(), 'gridargs.dat')
563 584