summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index fced6c121..864c5591a 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -399,7 +399,7 @@ v_etc_file = lib/version-etc.c
# Make sure that the copyright date in $(v_etc_file) is up to date.
copyright-check:
@if test -f $(v_etc_file); then \
- grep 'enum { COPYRIGHT_YEAR = 2005 };' $(v_etc_file) \
+ grep 'enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' $(v_etc_file) \
>/dev/null \
|| { echo 'out of date copyright in $(v_etc_file); update it' 1>&2; \
exit 1; }; \