(copyright-check): Reflect rearrangement in version-etc files.
authorJim Meyering <jim@meyering.net>
Tue, 12 Jul 2005 18:31:51 +0000 (18:31 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 12 Jul 2005 18:31:51 +0000 (18:31 +0000)
Makefile.maint

index a27690d..3898dab 100644 (file)
@@ -346,11 +346,11 @@ writable-files:
        done;                                                           \
        test "$$fail" && exit 1 || :
 
-v_etc_file = lib/version-etc-fsf.c
+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 '"Copyright (C) $(shell date +%Y) Free' $(v_etc_file) \
+         grep 'enum { COPYRIGHT_YEAR = 2005 };' $(v_etc_file) \
            >/dev/null \
          || { echo 'out of date copyright in $(v_etc_file); update it' 1>&2; \
               exit 1; }; \