X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=Makefile;h=cb1d7cd0b6ec30675f4850af2fe7c456fe12a768;hb=21d1619b3010053ebe4d4eae33440f7141ae2413;hp=0da864c6ac28b85341a9d967ede48f97eed42fa6;hpb=fac40623358b11e770df3ef686870632ef4fc104;p=gnulib.git diff --git a/Makefile b/Makefile index 0da864c6a..cb1d7cd0b 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,15 @@ sc_prefer_ac_check_funcs_once: in modules/ 1>&2; exit 1; } || : \ else :; fi +sc_prohibit_leading_TABs: + if test -d .git; then \ + git grep -l '^ * ' lib m4 tests \ + | grep -Ev '^lib/reg|Makefile|test-update-copyright' \ + | grep . \ + && { printf '*** %s\n' 'indent with spaces, not TABs;' \ + 1>&2; exit 1; } || : \ + else :; fi + sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT: if test -d .git; then \ url=http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/22874; \ @@ -95,7 +104,7 @@ sc_cpp_indent_check: $$(cd ./modules; grep -ilrE '(meyering|blake)' .) \ | sort -u \ | grep '\.c$$' \ - | grep -v '/getloadavg\.c$$' \ + | grep -vE '/(stdio-(read|write)|getloadavg)\.c$$' \ | xargs cppi -c # Ensure that the list of symbols checked for by the