Commit cb0f7b65a8ccfb41ec1b7272183b234c94434dad

Werner Lemberg 2015-03-11T06:51:27

Fix automatic copyright updating. * src/tools/update-copyright: Make scanning of `no-copyright' actually work. * src/tools/no-copyright: Don't include README in general.

diff --git a/ChangeLog b/ChangeLog
index 37bcd90..1b6cc00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2015-03-11  Werner Lemberg  <wl@gnu.org>
 
+	Fix automatic copyright updating.
+
+	* src/tools/update-copyright: Make scanning of `no-copyright'
+	actually work.
+
+	* src/tools/no-copyright: Don't include README in general.
+
+2015-03-11  Werner Lemberg  <wl@gnu.org>
+
 	Rename `ftxf86.[ch]' to `ftfntfmt.[ch]'.
 
 	CMakeLists.txt, builds/amiga/makefile, builds/amiga/makefile.os4,
diff --git a/src/tools/no-copyright b/src/tools/no-copyright
index 464ece0..5011e3f 100644
--- a/src/tools/no-copyright
+++ b/src/tools/no-copyright
@@ -26,7 +26,6 @@ src/bdf/bdflib.c
 src/bdf/module.mk
 src/bdf/README
 src/bdf/rules.mk
-README
 #
 src/pcf/module.mk
 src/pcf/pcf.c
diff --git a/src/tools/update-copyright b/src/tools/update-copyright
index 81add0a..4a8bf9b 100755
--- a/src/tools/update-copyright
+++ b/src/tools/update-copyright
@@ -6,8 +6,8 @@
 topdir=`git rev-parse --show-toplevel`
 toolsdir=$topdir/src/tools
 
-git ls-files $topdir                    \
-| sed 's|^|./|'                         \
+git ls-files --full-name $topdir        \
+| sed 's|^|../../|'                     \
 | grep -vFf $toolsdir/no-copyright      \
 | xargs $toolsdir/update-copyright-year