maint: sc_cpp_indent_check: remove the "only in lib/" restriction
authorJim Meyering <meyering@redhat.com>
Tue, 22 Feb 2011 15:51:29 +0000 (16:51 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 22 Feb 2011 15:51:29 +0000 (16:51 +0100)
* Makefile (sc_cpp_indent_check): Don't limit the check to files
in lib/.

ChangeLog
Makefile

index ca6bb93..ee86ca9 100644 (file)
--- 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
index 776de73..9c0d0c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -46,12 +46,12 @@ sc_pragma_columns:
        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