summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-01-01 22:09:12 +0100
committerJim Meyering <meyering@redhat.com>2011-01-01 22:09:37 +0100
commit897b54c334d903950172863b57b5de744b3c5092 (patch)
tree9db7a6641968aa0281e67b3f90369b10ad733609 /Makefile
parent1109937d44ce8e3897e1dae14f0adb39bff87f91 (diff)
downloadgnulib-897b54c334d903950172863b57b5de744b3c5092.tar.gz
maint: update-copyright: exempt doc/INSTALL*
* Makefile (update-copyright): Also exclude doc/INSTALL*, since they are generated. Suggested by Bruno Haible.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 745c603c70..c3bf4a979d 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@ MODULES.html: MODULES.html.sh
# as well as those in tests/unictype (generated).
# Also exclude any file that includes the "GENERATED AUTOMATICALLY" comment,
# being careful not to exclude code that merely generates the comment.
+# Also exclude doc/INSTALL*, since they too are generated.
update-copyright:
exempt=$$(mktemp); \
grep -v '^#' config/srclist.txt|grep -v '^$$' \
@@ -69,6 +70,7 @@ update-copyright:
echo "$$dst"/$$(basename "$$src"); \
done > $$exempt; \
git ls-files tests/unictype >> $$exempt; \
+ git ls-files doc/INSTALL* >> $$exempt; \
git ls-files | grep -vFf $$exempt \
| xargs grep -L '^/\*.*GENERATED AUTOMATICALLY' \
| UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \