about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKang Seonghoon <public+git@mearie.org>2013-02-14 11:20:40 +0900
committerKang Seonghoon <public+git@mearie.org>2013-02-14 11:20:40 +0900
commit5336bf6addc7091ed303a06246b43b99dc0c5cd1 (patch)
treed5ffaa48b523ced9ee67cc75c605acf0c4dcb304
parent6d98ca94ccab88be224eb2703fb496c2d003a562 (diff)
made licenseck.py work for year substitutions
-rw-r--r--src/etc/licenseck.py26
1 files changed, 21 insertions, 5 deletions
diff --git a/src/etc/licenseck.py b/src/etc/licenseck.py
index 5e53eef7ef2..973b7deb960 100644
--- a/src/etc/licenseck.py
+++ b/src/etc/licenseck.py
@@ -8,7 +8,8 @@
 # option. This file may not be copied, modified, or distributed
 # except according to those terms.
 
-license0 = """// Copyright 2012-2013 The Rust Project Developers. See the
+license0 = """\
+// Copyright 2012-2013 The Rust Project Developers. See the
 // COPYRIGHT file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -19,7 +20,8 @@ license0 = """// Copyright 2012-2013 The Rust Project Developers. See the
 // except according to those terms.
 """
 
-license1 = """// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+license1 = """\
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -30,7 +32,8 @@ license1 = """// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
 // except according to those terms.
 """
 
-license2 = """// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+license2 = """\
+// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -41,7 +44,8 @@ license2 = """// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
 // except according to those terms.
 """
 
-license3 = """# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+license3 = """\
+# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
 # file at the top-level directory of this distribution and at
 # http://rust-lang.org/COPYRIGHT.
 #
@@ -52,7 +56,19 @@ license3 = """# Copyright 2013 The Rust Project Developers. See the COPYRIGHT
 # except according to those terms.
 """
 
-licenses = [license0, license1, license2, license3]
+license4 = """\
+// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+"""
+
+licenses = [license0, license1, license2, license3, license4]
 
 exceptions = [
     "rt/rust_android_dummy.cpp", # BSD, chromium