trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [2/2] trafficserver git commit: Allow make clang-format to operate in an out-of-tree build
Date Fri, 03 Apr 2015 14:24:45 GMT
Allow make clang-format to operate in an out-of-tree build


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6b6e7450
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6b6e7450
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6b6e7450

Branch: refs/heads/master
Commit: 6b6e7450b899f43a766bff8436fa1b1247fd2699
Parents: 99073af
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Fri Apr 3 08:09:50 2015 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Fri Apr 3 08:09:50 2015 -0600

----------------------------------------------------------------------
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6b6e7450/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index b27c248..14708e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -99,7 +99,7 @@ submodules:
 	git submodule update --init
 
 clang-format:
-	for f in `find . -iname \*.[ch] -o -iname \*.cc | fgrep -v -e lib/ck -e lib/luajit -e lib/tsconfig`;
do \
+	for f in `find $(top_srcdir) -iname \*.[ch] -o -iname \*.cc | fgrep -v -e lib/ck -e lib/luajit
-e lib/tsconfig`; do \
 	  echo $$f; clang-format -i $$f; done
 
 help:


Mime
View raw message