projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint.mk: make update-copyright exclusion list more configurable
[pspp]
/
top
/
maint.mk
diff --git
a/top/maint.mk
b/top/maint.mk
index 5d892381e7f5b9c9aa6eacb6f4546986f484526b..2df7c046732bda4e7730b48e14caa4e4fb97ded3 100644
(file)
--- a/
top/maint.mk
+++ b/
top/maint.mk
@@
-774,8
+774,9
@@
indent:
# Run this rule once per year (usually early in January)
# to update all FSF copyright year lists in your project.
# Run this rule once per year (usually early in January)
# to update all FSF copyright year lists in your project.
+update-copyright-exclude-regexp ?= (^|/)COPYING$$
.PHONY: update-copyright
update-copyright:
grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \
.PHONY: update-copyright
update-copyright:
grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \
- | grep -v -E '
(^|/)COPYING$$'
\
+ | grep -v -E '
$(update-copyright-exclude-regexp)'
\
| xargs $(build_aux)/$@
| xargs $(build_aux)/$@