projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00d069f
)
(copyright-check): Use date +%Y in place of hard-coded 2005.
author
Jim Meyering
<jim@meyering.net>
Fri, 6 Jan 2006 16:49:10 +0000
(16:49 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 6 Jan 2006 16:49:10 +0000
(16:49 +0000)
Makefile.maint
patch
|
blob
|
history
diff --git
a/Makefile.maint
b/Makefile.maint
index
fced6c1
..
864c559
100644
(file)
--- 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; }; \