]> granicus.if.org Git - clang/commitdiff
Docs: keep copyright years up-to-date
authorHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 19:45:01 +0000 (19:45 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 12 Aug 2015 19:45:01 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244797 91177308-0d34-0410-b5e6-96231b3b80d8

docs/conf.py

index edb2d37c9c9ecdad63e2ccb49ce9e27d534f5728..6d53d94aa3183d275e981339b93fc816b5747e60 100644 (file)
@@ -12,6 +12,7 @@
 # serve to show the default.
 
 import sys, os
+from datetime import date
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -41,7 +42,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Clang'
-copyright = u'2007-2015, The Clang Team'
+copyright = u'2007-%d, The Clang Team' % date.today().year
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the