bootstrap: honor m4_base when running aclocal
[pspp] / Makefile
index c3bf4a979dfdd122772eb4c43684c4f860d2cc6c..9c0d0c3bf44be29bcc62b55381ab42c873e5198a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,16 @@ sc_pragma_columns:
                 exit 1; } || :;                                        \
        else :; fi
 
+# Verify that certain (for now, only Jim Meyering and Eric Blake's)
+# *.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
+
 # Regenerate some files that are stored in the repository.
 regen: MODULES.html