[llvm-commits] [llvm] r51106 - /llvm/branches/ggreif/use-diet/Makefile.rules
Gabor Greif
ggreif at gmail.com
Wed May 14 06:39:36 PDT 2008
Author: ggreif
Date: Wed May 14 08:39:34 2008
New Revision: 51106
URL: http://llvm.org/viewvc/llvm-project?rev=51106&view=rev
Log:
enhance targets <check-line-length> and <check-for-tabs> to report the searched files and not to hang on an empty file list waiting for the console
Modified:
llvm/branches/ggreif/use-diet/Makefile.rules
Modified: llvm/branches/ggreif/use-diet/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/Makefile.rules?rev=51106&r1=51105&r2=51106&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/Makefile.rules (original)
+++ llvm/branches/ggreif/use-diet/Makefile.rules Wed May 14 08:39:34 2008
@@ -1738,10 +1738,17 @@
endif
check-line-length:
- @egrep -n '.{81}' $(Sources)
+ @echo searching for overlength lines in files: $(Sources)
+ @echo
+ @echo
+ @egrep -n '.{81}' $(Sources) /dev/null
check-for-tabs:
- @egrep -n ' ' $(Sources)
+ @echo searching for tabs in files: $(Sources)
+ @echo
+ @echo
+ @egrep -n ' ' $(Sources) /dev/null
+
check-footprint:
@ls -l $(LibDir) | awk '\
BEGIN { sum = 0; } \
More information about the llvm-commits
mailing list