]> code.delx.au - gnu-emacs/blobdiff - admin/update-copyright
* lisp/dom.el (dom-previous-sibling): New function.
[gnu-emacs] / admin / update-copyright
index ce58168684e83637890ee43822a7a85528973ccd..459ee83ac1d012b7b0477e6699459c6b02515971 100755 (executable)
@@ -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 ||
@@ -45,8 +45,7 @@ sed 's/\\def\\year[{][0-9]*[}]/\\def\\year{'"$UPDATE_COPYRIGHT_YEAR"'}'/g \
 } &&
 rm $emacsver.aux &&
 
-# FIXME: command will soon need to be replaced with "git ls-files"
-repo_files=$(bzr ls -RV --kind file) &&
+repo_files=$(git ls-files) &&
 
 # Do not update the copyright of files that have one or more of the
 # following problems: