summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-08-10 15:09:15 +0200
committerSimon Josefsson <simon@josefsson.org>2009-08-10 15:09:15 +0200
commit02242c05973f18dc27917446d45bec1ae5a393c8 (patch)
treef74725ba88059854c50316e98b99342a8d80e40b /maint.mk
parent4b713f83eb0f456059d180fd6a074f66bb800b85 (diff)
downloadgnutls-02242c05973f18dc27917446d45bec1ae5a393c8.tar.gz
Update gnulib files.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index 2df7c04673..a4ce064924 100644
--- a/maint.mk
+++ b/maint.mk
@@ -772,11 +772,15 @@ INDENT_SOURCES ?= $(C_SOURCES)
indent:
indent $(INDENT_SOURCES)
+# If you have an additional project-specific rule,
+# define it in cfg.mk and set this variable to its name.
+update-copyright-local ?=
+
# 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:
+update-copyright: $(update-copyright-local)
grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \
| grep -v -E '$(update-copyright-exclude-regexp)' \
| xargs $(build_aux)/$@