maint.mk: avoid obscure sc_copyright_check failure in coreutils
authorJim Meyering <meyering@redhat.com>
Sat, 4 Sep 2010 16:16:04 +0000 (18:16 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 4 Sep 2010 16:16:28 +0000 (18:16 +0200)
* top/maint.mk (v_etc_file): Prepend $(gnulib_dir)/, to avoid
false positives (whose names may be ill-chosen) when searching
non-VC'd files.  Otherwise, a file named "a b/lib/version-etc.c"
would cause a false-positive.

ChangeLog
top/maint.mk

index 47e82e4..1ba0d92 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-09-04  Jim Meyering  <meyering@redhat.com>
 
+       maint.mk: avoid obscure sc_copyright_check failure in coreutils
+       * top/maint.mk (v_etc_file): Prepend $(gnulib_dir)/, to avoid
+       false positives (whose names may be ill-chosen) when searching
+       non-VC'd files.  Otherwise, a file named "a b/lib/version-etc.c"
+       would cause a false-positive.
+
        avoid coreutils "make distcheck" failure
        Coreutils tests with an absolute build directory name that contains
        a space.  Not quoting this directory name caused a failure.
index 59e9cb5..32320f8 100644 (file)
@@ -954,7 +954,7 @@ writable-files:
          test "$$fail" && exit 1 || : ;                                \
        fi
 
-v_etc_file = lib/version-etc.c
+v_etc_file = $(gnulib_dir)/lib/version-etc.c
 sample-test = tests/sample-test
 texi = doc/$(PACKAGE).texi
 # Make sure that the copyright date in $(v_etc_file) is up to date.