changeset 14382:c19d2aef45e7

maint: sc_cpp_indent_check: remove the "only in lib/" restriction * Makefile (sc_cpp_indent_check): Don't limit the check to files in lib/.
author Jim Meyering <meyering@redhat.com>
date Tue, 22 Feb 2011 16:51:29 +0100
parents 6359f8b57ad2
children e514f670d508
files ChangeLog Makefile
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-22  Jim Meyering  <meyering@redhat.com>
+
+	maint: sc_cpp_indent_check: remove the "only in lib/" restriction
+	* Makefile (sc_cpp_indent_check): Don't limit the check to files
+	in lib/.
+
 2011-02-22  Eric Blake  <eblake@redhat.com>
 
 	maint: avoid any CDPATH issue
--- a/Makefile
+++ b/Makefile
@@ -46,12 +46,12 @@
 	else :; fi
 
 # Verify that certain (for now, only Jim Meyering and Eric Blake's)
-# lib/**.c files are consistently cpp indented.
+# *.c files are consistently cpp indented.
 sc_cpp_indent_check:
 	./gnulib-tool --extract-filelist \
             $$(cd ./modules; grep -ilrE '(meyering|blake)' .) \
           | sort -u \
-          | grep 'lib/.*\.c$$' \
+          | grep '\.c$$' \
           | grep -v '/getloadavg\.c$$' \
           | xargs cppi -c