* update-copyright (emacsver): Change to emacsver.tex.in.

This commit is contained in:
Paul Eggert 2015-01-01 13:43:26 -08:00
parent 035f5aaa91
commit 647c7c9a72
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2015-01-01 Paul Eggert <eggert@cs.ucla.edu>
* update-copyright (emacsver): Change to emacsver.tex.in.
2014-12-24 Glenn Morris <rgm@gnu.org>
* authors.el (authors-obsolete-files-regexps)
@ -2502,7 +2506,7 @@
;; coding: utf-8
;; End:
Copyright (C) 2001-2014 Free Software Foundation, Inc.
Copyright (C) 2001-2015 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -7,7 +7,7 @@
# By default, this script uses the local-time calendar year.
# Set the UPDATE_COPYRIGHT_YEAR environment variable to override the default.
# Copyright 2013-2014 Free Software Foundation, Inc.
# Copyright 2013-2015 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
@ -37,7 +37,7 @@ export UPDATE_COPYRIGHT_USE_INTERVALS
: ${UPDATE_COPYRIGHT_YEAR=$(date +%Y)}
export UPDATE_COPYRIGHT_YEAR
emacsver=etc/refcards/emacsver.tex
emacsver=etc/refcards/emacsver.tex.in
sed 's/\\def\\year[{][0-9]*[}]/\\def\\year{'"$UPDATE_COPYRIGHT_YEAR"'}'/g \
$emacsver >$emacsver.aux &&
{ cmp -s $emacsver $emacsver.aux ||