diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-01 10:24:28 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-01 10:25:39 -0800 |
commit | e3ffd3bbdd23d06f9efe114c4e0247e58444229b (patch) | |
tree | 13197a9734303016ddfdb7dd9f11e0ac488eb5a5 /Makefile | |
parent | eec12c00cf3f8c649297cf13fbbac6b0a27676de (diff) | |
download | gnulib-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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 \ |