From 583c47de09e3fb912baa00ddd405ab66fdad433c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 4 Sep 2010 18:16:04 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ top/maint.mk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 47e82e467..1ba0d9260 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-09-04 Jim Meyering + 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. diff --git a/top/maint.mk b/top/maint.mk index 59e9cb58e..32320f863 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -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. -- 2.11.0