[libvirt] [PATCH] build: fix VPATH 'make syntax-check'

Eric Blake eblake at redhat.com
Tue Jun 1 22:38:21 UTC 2010


* cfg.mk (sc_check_author_list): Look in correct location.
---

Pushing under the trivial rule, since it fixes 'make syntax-check'
in a VPATH build.

 cfg.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 1f63a80..aefe34c 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -479,7 +479,7 @@ sc_check_author_list:
 	@fail=0;							\
 	for i in $$(git log --pretty=format:%aE%n|sort -u|grep -v '^$$'); do \
 	  sanitized=$$(echo "$$i"|LC_ALL=C sed 's/\([^a-zA-Z0-9_ at -]\)/\\\1/g'); \
-	  grep -iq "<$$sanitized>" AUTHORS				\
+	  grep -iq "<$$sanitized>" $(srcdir)/AUTHORS			\
 	    || { printf '%s\n' "$$i" >&2; fail=1; };			\
 	done;								\
 	test $$fail = 1							\
-- 
1.7.0.1




More information about the libvir-list mailing list