summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-01-01 10:24:28 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-01-01 10:25:39 -0800
commite3ffd3bbdd23d06f9efe114c4e0247e58444229b (patch)
tree13197a9734303016ddfdb7dd9f11e0ac488eb5a5 /Makefile
parenteec12c00cf3f8c649297cf13fbbac6b0a27676de (diff)
downloadgnulib-e3ffd3bbdd23d06f9efe114c4e0247e58444229b.tar.gz
maint: fix ‘make update-copyright’ on symlinks
After running ‘make update-copyright’ I noticed that it incorrectly replaced a couple of symlinks with their contents. * Makefile (update-copyright): Do not update symlinks. * etc/license-notices/GPL, etc/license-notices/LGPL: Change these back to symlinks.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 913407fa78..85362c8c2c 100644
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,9 @@ update-copyright:
done > $$exempt; \
git ls-files tests/unictype >> $$exempt; \
git ls-files doc/INSTALL* >> $$exempt; \
+ for file in $$(git ls-files); do \
+ test ! -h $$file || echo $$file; \
+ done >> $$exempt; \
git ls-files | grep -vFf $$exempt \
| xargs grep -L '^/\*.*GENERATED AUTOMATICALLY' \
| UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \