summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c3bf4a979d..398b14a10a 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,15 @@ sc_pragma_columns:
exit 1; } || :; \
else :; fi
+# Verify that certain (for now, only Jim Meyering's) lib/**.c files
+# are consistently cpp indented.
+sc_cpp_indent_check:
+ ./gnulib-tool --extract-filelist $$(cd modules; grep -ilr meyering .) \
+ | sort -u \
+ | grep 'lib/.*\.c$$' \
+ | grep -v '/getloadavg\.c$$' \
+ | xargs cppi -c
+
# Regenerate some files that are stored in the repository.
regen: MODULES.html