]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix VPATH 'make syntax-check'
authorEric Blake <eblake@redhat.com>
Tue, 1 Jun 2010 22:34:25 +0000 (16:34 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 1 Jun 2010 22:34:25 +0000 (16:34 -0600)
* cfg.mk (sc_check_author_list): Look in correct location.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 1f63a804d91b7417d53cadf77275d46d98b018be..aefe34c17a6ffdb5cde34cab49f67044df3562f3 100644 (file)
--- 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_@-]\)/\\\1/g'); \
-         grep -iq "<$$sanitized>" AUTHORS                              \
+         grep -iq "<$$sanitized>" $(srcdir)/AUTHORS                    \
            || { printf '%s\n' "$$i" >&2; fail=1; };                    \
        done;                                                           \
        test $$fail = 1                                                 \