diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-30 22:30:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-30 22:30:44 +0000 |
commit | 4d24e718918f32e84cd5a8e7883e03577b0c368a (patch) | |
tree | 1415fd73be8ca50d9a19e5b0dc1275cc1715758e | |
parent | fff64c7ec2df874cd8c586e6df54f3ce30d6e96a (diff) | |
download | coreutils-4d24e718918f32e84cd5a8e7883e03577b0c368a.tar.xz |
(sc_file_system): New target.
(syntax-check-rules): Add it.
-rw-r--r-- | Makefile.maint | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint index 50dfd8435..9fced62d1 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. |