changeset 13635:102e01a1ca93

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.
author Jim Meyering <meyering@redhat.com>
date Sat, 04 Sep 2010 18:16:04 +0200
parents 38f90e1a26c2
children 06064a28d167
files ChangeLog top/maint.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -954,7 +954,7 @@
 	  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.