changeset 11575:cfe435cf936c

maint.mk: allow gnulib_dir in VPATH build * top/maint.mk (gnulib_dir): Make relative to $(srcdir). Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 18 May 2009 06:12:37 -0600
parents 41f48f2ba75c
children 79df2eaa4395
files ChangeLog top/maint.mk
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-18  Eric Blake  <ebb9@byu.net>
+
+	maint.mk: allow gnulib_dir in VPATH build
+	* top/maint.mk (gnulib_dir): Make relative to $(srcdir).
+
 2009-05-15  Jim Meyering  <meyering@redhat.com>
 
 	maint.mk: Give gnulib_dir a default definition.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -638,7 +638,7 @@
 
 rel-files = $(DIST_ARCHIVES)
 
-gnulib_dir ?= gnulib
+gnulib_dir ?= $(srcdir)/gnulib
 gnulib-version = $$(cd $(gnulib_dir) && git describe)
 bootstrap-tools ?= autoconf,automake,gnulib