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 ca6bb930d424dfd953a61d046be1526948cdfaaf..ee86ca938f902549374034362cce908a353e65a8 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 776de73837ebb04bf2bf5209bd7791cf16830efd..9c0d0c3bf44be29bcc62b55381ab42c873e5198a 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