summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-13 19:22:08 +0100
committerBruno Haible <bruno@clisp.org>2011-11-13 19:22:08 +0100
commit9354e54028f95fcc8effd13ede28d27363a19c6f (patch)
tree40fd4f3ecd5d3cd136eaa6694cb927dbcfa0f9e1 /Makefile
parent7efb4d7a2addc2b151b5b0bf45b0c2716cee9901 (diff)
downloadgnulib-9354e54028f95fcc8effd13ede28d27363a19c6f.tar.gz
Makefile: Tweak indentation.
* Makefile: Use tab as first character in every line that contains rule commands.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index af33eccf44..f62a661383 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@ sc_prefer_ac_check_funcs_once:
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 @@ 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 -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 @@ 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.