[libvirt PATCH 2/9] syntax-check: fix sc-prohibit-cross-inclusion

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

 



Using '^' in in_vc_files assumes the build is happening
in srcdir, which is no longer possible as of:
commit f96395e78eaccffbf128336382c74b1250f04032

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 build-aux/syntax-check.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 80420eada5..58a24b6276 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -871,7 +871,7 @@ sc_prohibit_cross_inclusion:
 	      safe="($$dir|util|conf|storage)";; \
 	    *) safe="($$dir|$(mid_dirs)|util)";; \
 	  esac; \
-	  in_vc_files="^src/$$dir" \
+	  in_vc_files="src/$$dir" \
 	  prohibit='^# *include .$(cross_dirs_re)' \
 	  exclude="# *include .$$safe" \
 	  halt='unsafe cross-directory include' \
-- 
2.24.1





[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]

  Powered by Linux