From: Jim Meyering Date: Wed, 30 Jun 2004 22:30:44 +0000 (+0000) Subject: (sc_file_system): New target. X-Git-Tag: COREUTILS-5_3_0~1212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d24e718918f32e84cd5a8e7883e03577b0c368a;p=platform%2Fupstream%2Fcoreutils.git (sc_file_system): New target. (syntax-check-rules): Add it. --- diff --git a/Makefile.maint b/Makefile.maint index 50dfd84..9fced62 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -72,6 +72,7 @@ syntax-check-rules = \ sc_changelog \ sc_dd_max_sym_length \ sc_error_exit_success \ + sc_file_system \ sc_prohibit_atoi_atof \ sc_prohibit_jm_in_m4 \ sc_space_tab \ @@ -137,6 +138,13 @@ sc_error_exit_success: { echo '$(ME): found error (EXIT_SUCCESS' 1>&2; \ exit 1; } || : +sc_file_system: + @grep -i 'filesystem' \ + $$(cvsu --list | grep -vEf .x-$@ ) && \ + { echo '$(ME): found use of "filesystem";' \ + 'rewrite to use "file system"' 1>&2; \ + exit 1; } || : + # FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ # Each nonempty line must start with a year number, or a TAB.