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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
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