changeset 12771:a11a67aec9bf

maint.mk: fix syntax-check in a non-srcdir build directory * top/maint.mk (_dot_escaped_srcdir): Remove erroneous backslash, introduced in my 2010-01-21 commit, a6da6c45. Reported by Eric Blake.
author Jim Meyering <meyering@redhat.com>
date Sat, 23 Jan 2010 22:08:55 +0100
parents f2a8a7dd89bb
children 2ea3e3fab7ee
files ChangeLog top/maint.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-23  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: fix syntax-check in a non-srcdir build directory
+	* top/maint.mk (_dot_escaped_srcdir): Remove erroneous backslash,
+	introduced in my 2010-01-21 commit, a6da6c45.  Reported by Eric Blake.
+
 2010-01-22  Jim Meyering  <meyering@redhat.com>
 
 	userspec: add unit tests
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -43,7 +43,7 @@
 # This is to preprocess robustly the output of $(VC_LIST), so that even
 # when $(srcdir) is a pathological name like "....", the leading sed command
 # removes only the intended prefix.
-_dot_escaped_srcdir = $(subst .,\\.,$(srcdir))
+_dot_escaped_srcdir = $(subst .,\.,$(srcdir))
 
 VC_LIST_EXCEPT = \
   $(VC_LIST) | sed 's|^$(_dot_escaped_srcdir)/||' \