X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=Makefile;h=f62a661383797441b200ddf60660259a5100ae1d;hb=270e088a1e1696838c799405d825aa9232d21d2b;hp=fcc73f6a38b5a7a9a6513fdf17d13b3c0043ac7e;hpb=00a195984d09dcd5ac84866740d35ad322f2578b;p=gnulib.git diff --git a/Makefile b/Makefile index fcc73f6a3..f62a66138 100644 --- a/Makefile +++ b/Makefile @@ -34,10 +34,9 @@ sc_prefer_ac_check_funcs_once: sc_prohibit_leading_TABs: if test -d .git; then \ - url=FIXME; \ git grep -l '^ * ' lib m4 tests \ - | grep -Ev '^m4/po\.m4|^lib/reg|Makefile|test-update-copyright' \ - | grep . \ + | grep -Ev '^lib/reg|Makefile|test-update-copyright' \ + | grep . \ && { printf '*** %s\n' 'indent with spaces, not TABs;' \ 1>&2; exit 1; } || : \ else :; fi @@ -102,11 +101,11 @@ sc_pragma_columns: # *.c files are consistently cpp indented. sc_cpp_indent_check: ./gnulib-tool --extract-filelist \ - $$(cd ./modules; grep -ilrE '(meyering|blake)' .) \ - | sort -u \ - | grep '\.c$$' \ - | grep -v '/getloadavg\.c$$' \ - | xargs cppi -c + $$(cd ./modules; grep -ilrE '(meyering|blake)' .) \ + | sort -u \ + | grep '\.c$$' \ + | grep -vE '/(stdio-(read|write)|getloadavg)\.c$$' \ + | xargs cppi -c # Ensure that the list of symbols checked for by the # sc_prohibit_intprops_without_use rule match those in the actual file. @@ -116,7 +115,12 @@ sc_check_sym_list: i=lib/intprops.h; \ diff -u <(perl -lne '/^# *define ([A-Z]\w+)\(/ and print $$1' $$i|fmt) \ <(sed -n /^_intprops_name/,/^_intprops_syms_re/p top/maint.mk \ - |sed '/^_/d;s/^ //;s/ *\\$$//') + |sed '/^_/d;s/^ //;s/ *\\$$//') + +# Ensure that the copyright statements in files and in the module descriptions +# are consistent. +sc_check_copyright: + ./check-copyright # Regenerate some files that are stored in the repository. regen: MODULES.html