# HG changeset patch # User Bruno Haible # Date 1321208528 -3600 # Node ID a018273bd5a8c7f2eafb4e1b2aaecab903c5d9c3 # Parent a4c68ff22172d680b4bb44deec4a4d71fa16b204 Makefile: Tweak indentation. * Makefile: Use tab as first character in every line that contains rule commands. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-13 Bruno Haible + + Makefile: Tweak indentation. + * Makefile: Use tab as first character in every line that contains rule + commands. + 2011-11-13 Bruno Haible Syntax check for copyright statements. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -35,8 +35,8 @@ sc_prohibit_leading_TABs: if test -d .git; then \ git grep -l '^ * ' lib m4 tests \ - | grep -Ev '^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 @@ -101,11 +101,11 @@ # *.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 -vE '/(stdio-(read|write)|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. @@ -115,7 +115,7 @@ 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.