summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcompress
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-28 15:36:17 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-28 15:36:17 (GMT)
commit9737ea074a5e199f5785f9f242c5ec80394b229f (patch)
tree267257984130e1047f9960291a5fb0573ee2f615 /Utilities/cmcompress
parentcb2380fb6c33b3e5c480a6fa3eb52f4ebcea6431 (diff)
downloadCMake-9737ea074a5e199f5785f9f242c5ec80394b229f.zip
CMake-9737ea074a5e199f5785f9f242c5ec80394b229f.tar.gz
CMake-9737ea074a5e199f5785f9f242c5ec80394b229f.tar.bz2
Install third-party utility copyright notices
Some of our third-party utilities have licenses that require their copyright and license notices to be distributed with binary forms. This commit adds installation rules to include these notices with installed CMake documentation.
Diffstat (limited to 'Utilities/cmcompress')
-rw-r--r--Utilities/cmcompress/CMakeLists.txt2
-rw-r--r--Utilities/cmcompress/Copyright.txt34
2 files changed, 36 insertions, 0 deletions
diff --git a/Utilities/cmcompress/CMakeLists.txt b/Utilities/cmcompress/CMakeLists.txt
index f7aacfe..3323dcd 100644
--- a/Utilities/cmcompress/CMakeLists.txt
+++ b/Utilities/cmcompress/CMakeLists.txt
@@ -1,3 +1,5 @@
PROJECT(CMCompress)
ADD_LIBRARY(cmcompress cmcompress.c)
+
+INSTALL(FILES Copyright.txt DESTINATION ${CMake_DOC_DEST}/cmcompress)
diff --git a/Utilities/cmcompress/Copyright.txt b/Utilities/cmcompress/Copyright.txt
new file mode 100644
index 0000000..162332f
--- /dev/null
+++ b/Utilities/cmcompress/Copyright.txt
@@ -0,0 +1,34 @@
+Copyright (c) 1985, 1986 The Regents of the University of California.
+All rights reserved.
+
+This code is derived from software contributed to Berkeley by
+James A. Woods, derived from original work by Spencer Thomas
+and Joseph Orost.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. All advertising materials mentioning features or use of this software
+ must display the following acknowledgement:
+ This product includes software developed by the University of
+ California, Berkeley and its contributors.
+4. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.