[exim-cvs] Revert copyright years to manual-update. Bug 131…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Revert copyright years to manual-update. Bug 1318.
Gitweb: http://git.exim.org/exim.git/commitdiff/7d837ca7efbeb349657566658002f9e751ebd9ba
Commit:     7d837ca7efbeb349657566658002f9e751ebd9ba
Parent:     2aee48d6f2a6526fffe18cd619fde9693f400034
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Nov 25 14:22:42 2012 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Nov 25 14:22:42 2012 +0000


    Revert copyright years to manual-update.  Bug 1318.
---
 doc/doc-docbook/filter.xfpt |   11 +++++++++--
 doc/doc-docbook/spec.xfpt   |    4 ++++
 2 files changed, 13 insertions(+), 2 deletions(-)


diff --git a/doc/doc-docbook/filter.xfpt b/doc/doc-docbook/filter.xfpt
index e54909e..b40e4e2 100644
--- a/doc/doc-docbook/filter.xfpt
+++ b/doc/doc-docbook/filter.xfpt
@@ -45,6 +45,13 @@
.endmacro
. ===========================================================================

+. Copyright year. Update this (only) when changing content.
+
+.macro copyyear
+2010
+.endmacro
+
+. ===========================================================================

 . /////////////////////////////////////////////////////////////////////////////
 . /////////////////////////////////////////////////////////////////////////////
@@ -75,7 +82,7 @@
   <authorinitials>PH</authorinitials>
 </revision></revhistory>
 <copyright><year>
-.year
+.copyyear
            </year><holder>University of Cambridge</holder></copyright>
 </bookinfo>
 .literal off
@@ -86,7 +93,7 @@


.chapter "Forwarding and filtering in Exim" "CHAPforandfilt"
This document describes the user interfaces to Exim's in-built mail filtering
-facilities, and is copyright &copy; University of Cambridge &year(). It
+facilities, and is copyright &copy; University of Cambridge &copyyear(). It
corresponds to Exim version &version().


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 9d2dc4b..cee17c8 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -42,6 +42,7 @@

. /////////////////////////////////////////////////////////////////////////////
. These definitions set some parameters and save some typing.
+. Update the Copyright year (only) when changing content.
. /////////////////////////////////////////////////////////////////////////////

.set previousversion "4.80"
@@ -50,6 +51,9 @@
.set ACL "access control lists (ACLs)"
.set I "&nbsp;&nbsp;&nbsp;&nbsp;"

+.macro copyyear
+2012
+.endmacro

. /////////////////////////////////////////////////////////////////////////////
. Additional xfpt markup used by this document, over and above the default