From c5df6ada2e7ce9fcc57bb9628854bb668bfa9fa9 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 7 Oct 2015 15:57:59 +0200 Subject: syntax-check: Clean-up exception rules Some files no longer exists, some exceptions are no longer needed, ... --- cfg.mk | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/cfg.mk b/cfg.mk index c9353273..d31803d9 100644 --- a/cfg.mk +++ b/cfg.mk @@ -130,22 +130,15 @@ sc_check_author_list: # XXX some of these tools/ programs probably ought to bindtextdomain ? -exclude_file_name_regexp--sc_bindtextdomain = ^server/tests|common/region.c|common/win/my_getopt-1.5/main.c|tools/(bitmap_to_c.c|icon_to_c.c|reds_stat.c) +exclude_file_name_regexp--sc_bindtextdomain = ^server/tests|common/region.c|tools/(bitmap_to_c.c|icon_to_c.c|reds_stat.c) exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch] -exclude_file_name_regexp--sc_const_long_option = ^common/win/my_getopt-1.5/getopt.(3|txt) +exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = docs/.*.odt|server/tests/base_test.ppm -exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^common/win/my_getopt-1.5/getopt.(3|txt)|client/windows/(spice.ico|sticky_alt.bmp)|client/tests/controller_test/build|docs/.*.odt|server/tests/base_test.ppm - -# XXX this should be removed & all cases fixde +# XXX this should be removed & all cases fixed exclude_file_name_regexp--sc_prohibit_have_config_h = ^*/.*(c|cpp|h) -exclude_file_name_regexp--sc_require_config_h = ^client/gui/.*\.(ttf|font)\.c|client/gui/taharez.*\.c|client/x11/images/(alt_image|red_icon)\.c|common/win/my_getopt-1.5 - -exclude_file_name_regexp--sc_require_config_h_first = ^client/gui/.*\.(ttf|font)\.c|client/gui/taharez.*\.c|client/x11/images/(alt_image|red_icon)\.c|common/win/my_getopt-1.5 - -exclude_file_name_regexp--sc_trailing_blank = ^common/win/my_getopt-1.5/getopt.3|docs/.*.odt exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h) -- cgit