From: Jim Meyering Date: Sat, 11 Feb 2006 07:36:10 +0000 (+0000) Subject: (syntax-check-rules): Automatically derive this list of sc_-prefixed rule names. X-Git-Tag: v6.0~764 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea05edb822b8865424cb5189674dd6909b520379;p=thirdparty%2Fcoreutils.git (syntax-check-rules): Automatically derive this list of sc_-prefixed rule names. --- diff --git a/Makefile.maint b/Makefile.maint index 543ca52160..b5c1e43f90 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -92,29 +92,7 @@ local-checks-available = \ local-check = $(filter-out $(local-checks-to-skip), $(local-checks-available)) .PHONY: $(syntax-check-rules) -syntax-check-rules = \ - sc_cast_of_argument_to_free \ - sc_cast_of_x_alloc_return_value \ - sc_cast_of_alloca_return_value \ - sc_changelog \ - sc_dd_max_sym_length \ - sc_error_exit_success \ - sc_file_system \ - sc_no_if_have_config_h \ - sc_obsolete_symbols \ - sc_prohibit_atoi_atof \ - sc_prohibit_jm_in_m4 \ - sc_prohibit_assert_without_use \ - sc_require_config_h \ - sc_root_tests \ - sc_space_tab \ - sc_sun_os_names \ - sc_system_h_headers \ - sc_tight_scope \ - sc_trailing_blank \ - sc_two_space_separator_in_usage \ - sc_unmarked_diagnostics \ - sc_useless_cpp_parens +syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(ME)) syntax-check: $(syntax-check-rules) # @grep -nE '# *include <(limits|std(def|arg|bool))\.h>' \