[PATCH 13/17] tools/check-coding-style.mk: Work correctly with out-of-tree builds

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Apr 30 04:55:21 PDT 2007


diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk
index 5209223..6bf350a 100644
--- a/tools/check-coding-style.mk
+++ b/tools/check-coding-style.mk
@@ -1,5 +1,6 @@
 check-local::
 	@fail=0; \
+	cd $(srcdir) || exit $$?; \
 	if test -n "$(check_misc_sources)"; then \
 		echo check-coding-style.mk: checking misc sources...; \
 		top_srcdir=$(top_srcdir) \


More information about the dbus mailing list