(copyright-check): Update to reflect fact that
authorJim Meyering <jim@meyering.net>
Sun, 26 Aug 2001 18:27:00 +0000 (18:27 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Aug 2001 18:27:00 +0000 (18:27 +0000)
the copyright year is now defined separately.

Makefile.maint

index 7616992..a704a8f 100644 (file)
@@ -105,7 +105,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 'N_("Copyright (C) $(shell date +%Y) Free' $(v_etc_file) \
+         grep '^#define COPYRIGHT_YEAR "$(shell date +%Y)"' $(v_etc_file) \
            >/dev/null \
          || { echo 'out of date copyright in $(v_etc_file); update it' 1>&2; \
               exit 1; }; \