[rtems commit] waf: Add a build date to the copyright.

Chris Johns chrisj at rtems.org
Sun Oct 30 01:36:37 UTC 2016


Module:    rtems
Branch:    master
Commit:    761b082f37a068e3eca4843f604101f265620448
Changeset: http://git.rtems.org/rtems/commit/?id=761b082f37a068e3eca4843f604101f265620448

Author:    Chris Johns <chrisj at rtems.org>
Date:      Sun Oct 30 12:35:26 2016 +1100

waf: Add a build date to the copyright.

---

 common/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/conf.py b/common/conf.py
index b39de19..237d4c8 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -2,6 +2,7 @@
 #sys.path.append(os.path.abspath('.'))
 #sys.path.append(os.path.abspath('../../common/'))
 
+import datetime
 
 extensions = [
 	"sphinx.ext.autodoc",
@@ -28,7 +29,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'RTEMS Documentation Project'
-copyright = u'2016, RTEMS Project'
+copyright = u'2016, RTEMS Projecti (built %s)' % (datetime.date.today().strftime('%d %b %Y'))
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the



More information about the vc mailing list