maint: add cfg.mk to prepare for syntax-check tests
authorJim Meyering <jim@meyering.net>
Tue, 28 Jun 2011 23:21:05 +0000 (01:21 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 29 Jun 2011 09:09:29 +0000 (10:09 +0100)
* cfg.mk: New file, to tell maint.mk which syntax-checks to skip
for now, where .gnulib/ is, to exempt images/minimal from
one of the tests and to exempt sh/hivexsh\.pod from another.
Also exempt lib/gettext.h from sc_useless_cpp_parens.

cfg.mk [new file with mode: 0644]

diff --git a/cfg.mk b/cfg.mk
new file mode 100644 (file)
index 0000000..c1334fe
--- /dev/null
+++ b/cfg.mk
@@ -0,0 +1,21 @@
+# Tests not to run as part of "make distcheck".
+local-checks-to-skip =                 \
+  sc_prohibit_strcmp                   \
+  sc_two_space_separator_in_usage      \
+  sc_prohibit_magic_number_exit                \
+  sc_file_system                       \
+  sc_GPL_version                       \
+  sc_bindtextdomain                    \
+  sc_makefile_path_separator_check     \
+  sc_program_name
+
+gnulib_dir = .gnulib
+
+exclude_file_name_regexp--sc_trailing_blank = \
+  ^sh/hivexsh\.pod$$
+
+exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
+  ^images/minimal$$
+
+exclude_file_name_regexp--sc_useless_cpp_parens = \
+  ^lib/gettext\.h$$