From 15e6db1e0e246a1e0ffb28ff7beed3b750636d97 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 2 Jan 2012 08:42:57 +0100 Subject: [PATCH] Add scripts to update copyright. We are going to use the `update-copyright' script from `gnulib'. --- no-copyright | 28 ++++++++++++++++++++++++++++ update-copyright | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 no-copyright create mode 100644 update-copyright diff --git a/no-copyright b/no-copyright new file mode 100644 index 0000000..5c7a36b --- /dev/null +++ b/no-copyright @@ -0,0 +1,28 @@ +# Files which don't get a copyright, or which are taken from elsewhere. +# +# Don't put empty lines into this file! +# +.gitignore +m4/.gitignore +src/.gitignore +# +m4/ltlize_lang.m4 +FTL.TXT +GPLv2.TXT +INSTALL +# +autogen.sh +Makefile.am +# +AUTHORS +COPYING +ChangeLog +INSTALL.git +NEWS +THANKS +TODO +pledgies +no-copyright +update-copyright +# +# EOF diff --git a/update-copyright b/update-copyright new file mode 100644 index 0000000..09bc3a6 --- /dev/null +++ b/update-copyright @@ -0,0 +1,12 @@ +# Run the `update-copyright' script from `gnulib'. + +UPDATE_COPYRIGHT=~/git/gnulib/build-aux/update-copyright + +git ls-files \ +| grep -vFf no-copyright \ +| UPDATE_COPYRIGHT_HOLDER="by Werner Lemberg" \ + UPDATE_COPYRIGHT_USE_INTERVALS=1 \ + UPDATE_COPYRIGHT_MAX_LINE_LENGTH=78 \ + xargs $UPDATE_COPYRIGHT + +# EOF -- 2.11.4.GIT