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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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_@-]\)/\\\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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]