From cb0f7b65a8ccfb41ec1b7272183b234c94434dad Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 11 Mar 2015 06:51:27 +0100 Subject: [PATCH] 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. --- ChangeLog | 9 +++++++++ src/tools/no-copyright | 1 - src/tools/update-copyright | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37bcd9046..1b6cc0016 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2015-03-11 Werner Lemberg + + 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 Rename `ftxf86.[ch]' to `ftfntfmt.[ch]'. diff --git a/src/tools/no-copyright b/src/tools/no-copyright index 464ece0ba..5011e3fb6 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 81add0a8f..4a8bf9b0e 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