bootstrap: consistently use correct copyright year
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 1 May 2012 10:43:22 +0000 (12:43 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 1 May 2012 10:43:46 +0000 (12:43 +0200)
commitc1c27cf134f49bbe71ae919bf8c39dd9467795b9
tree8565e06b74d384077dae9cb058c248d1aaa1cd5a
parent5bcc8fa10fba5b0a504ff3735862359e878693a3
bootstrap: consistently use correct copyright year

Suggested by Peter Johansson in the discussion about automake bug#11356:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11356#41>

* boostrap.sh (dosubst): Don't initialize the substituted value for the
release year from the current year (using `date +%Y`); instead, do it
through ...
($RELEASE_YEAR): ... this new statically-defined variable.  To ensure it
won't get out-of-sync, it will be automatically updated ...
* Makefile.am (update-copyright): ... by this target's recipe.
Since are at it, fix a botched output redirection for an error message,
i.e., use ">&2" instead of ">&1".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
bootstrap.sh