Commit Graph

233 Commits

Author SHA1 Message Date
Jim Meyering d6342e9352 (sc_two_space_separator_in_usage): Make the regular
expression match more of the target lines, e.g., those that start with
`-S,' (short option followed by a comma) or that include `=[...]'.
Patch by Nicolas François.
2006-02-18 07:40:51 +00:00
Jim Meyering 1442d8987d (alpha beta major): For `make major', ensure that the
version string is of the form N.N[.N]*, where N is one or more digits.
2006-02-15 08:51:47 +00:00
Jim Meyering 2f1ac790d9 (patch-check): New target.
(local-checks-available): Add to the list.
2006-02-12 15:15:06 +00:00
Jim Meyering 870179fcd8 add a comment 2006-02-11 07:38:25 +00:00
Jim Meyering ea05edb822 (syntax-check-rules): Automatically derive this list of sc_-prefixed rule names. 2006-02-11 07:36:10 +00:00
Paul Eggert 8018407342 (CVS_LIST): Don't assume cvsu is available.
(CVS_LIST_EXCEPT): New macro, to simplify exception-processing.
Most uses of CVS_LIST changed to use CVS_LIST_EXCEPT.
(syntax-check-rules): Bring back sc_changelong.  (Hmm, why did it
go away? was that an accident?)
(sc_cast_of_argument_to_free, sc_cast_of_x_alloc_return_value):
(sc_cast_of_alloca_return_value, sc_space_tab, sc_prohibit_atoi_atof):
(sc_error_exit_success, sc_file_system, sc_no_if_have_config_h):
(sc_system_h_headers, sc_sun_os_names, sc_trailing_blank):
(sc_two_space_separator_in_usage, sc_unmarked_diagnostics):
(sc_obsolete_symbols, sc_changelog, sc_prohibit_jm_in_m4):
(sc_useless_cpp_parens, makefile-check, m4-check, po-check):
(author_mark_check, makefile_path_separator_check):
Output line numbers, to simplify navigation of Emacs *compilation*
buffers.
(sc_prohibit_atoi_atof, sc_file_system):
Rework slightly so that Makefile.maint doesn't get reported as a
violation of its own syntax rules.
(sc_dd_max_sym_length): Use ifneq to do nothing, instead of doing
it at run-time (which didn't work with Bison).  Fix a makefile typo,
caught by Makefile.maint itself: spaces where a tab should be.
(po-check): Check lib/*.[ch] even if not in CVS; used by Bison,
which copies from ../gnulib/lib/*.[ch] to lib/*.[ch].
Ignore djgpp and man subdirectories, to avoid false matches with
Bison and coreutils, respectively.  Use sort -u to remove the
resulting duplicates.
2006-02-11 06:05:23 +00:00
Jim Meyering 6ceaaa02dc Use gzip's --rsyncable option only if it's available.
(gzip_rsyncable): New variable.
(GZIP_ENV): Use it.
2006-02-10 17:47:16 +00:00
Jim Meyering dd8d8b4be1 (local-checks-available): Define in terms of
the expansion, $(syntax-check-rules), rather than the single,
top-level target `syntax-check', so that it's easier to exclude
individual rules (via $(local-checks-to-skip)).
(tgz-md5, tgz-sha1, ...): Remove now-unused definitions.
2006-02-08 12:44:36 +00:00
Jim Meyering 32d3c24ad6 (sc_two_space_separator_in_usage): New rule.
(syntax-check-rules): Add it.
2006-02-06 08:57:49 +00:00
Jim Meyering 7e140557e9 (copyright-check): Use date +%Y in place of hard-coded 2005. 2006-01-06 16:49:10 +00:00
Jim Meyering a12500ecac Add a FIXME comment. 2006-01-05 10:30:17 +00:00
Jim Meyering 04354518e1 (sc_obsolete_symbols): Prohibit use of O_NDELAY.
(sc_prohibit_assert_without_use): New rule.
(syntax-check-rules): Add it to the list.

(CVS_LIST): Define in terms of $(srcdir).
2005-12-28 10:26:10 +00:00
Jim Meyering 24bf7fd4ad (CVS_LIST): Use build-aux/cvsu, now that we have our own copy of cvsu. 2005-12-07 16:10:51 +00:00
Jim Meyering be3ef12b92 Add a comment about cvsu. 2005-11-30 17:42:33 +00:00
Jim Meyering 3275aebb6a (announcement): Use new option and key. 2005-11-13 15:17:18 +00:00
Jim Meyering ff9382628e remove inadvertently committed hunk (use of new --gpg-key-id option) 2005-11-13 15:08:50 +00:00
Jim Meyering 68943d27f8 Require that most .c files include <config.h>.
(sc_require_config_h): New rule.
(syntax-check-rules): Add it.
2005-11-13 15:05:45 +00:00
Jim Meyering 1f4f154e46 (my-distcheck): Depend on
$(release_archive_dir)/$(prev-tgz) here, so that if it's missing
we fail earlier.
2005-10-17 06:58:46 +00:00
Jim Meyering 2bff118a36 typo 2005-10-16 21:01:48 +00:00
Jim Meyering 0652d12852 whoops. Don't put $$today inside single quotes. 2005-10-16 11:00:22 +00:00
Jim Meyering a7ffedd708 (VERSION_REGEXP): New variable.
(news-date-check, changelog-check): Use tighter regular expressions.
2005-10-16 10:57:58 +00:00
Jim Meyering b0dcbf34a5 (sc_unmarked_diagnostics): Search only cvs-controlled files. 2005-10-02 06:29:26 +00:00
Jim Meyering f1f4e1ada3 add a FIXME comment 2005-09-27 09:40:39 +00:00
Jim Meyering eae3fa54bf (sc_no_if_have_config_h): New rule.
(syntax-check-rules): Add it.
2005-09-24 13:41:20 +00:00
Jim Meyering fcbf217aa5 escape a $ in a diagnostic 2005-09-13 15:42:45 +00:00
Jim Meyering 0fafb6d2f1 don't check for HAVE_UNISTD_H 2005-09-13 14:58:56 +00:00
Jim Meyering 4c7c6d6e78 (GZIP_ENV): Add --rsyncable option. 2005-09-13 14:14:41 +00:00
Jim Meyering a60996e13c (sc_useless_cpp_parens): New rule.
(syntax-check-rules): Add it.
2005-08-23 16:52:09 +00:00
Jim Meyering ad617951a6 (copyright-check): Reflect rearrangement in version-etc files. 2005-07-12 18:31:51 +00:00
Jim Meyering 6f368f2f48 (sc_obsolete_symbols): New rule.
(syntax-check-rules): Add it to the list.
2005-07-02 11:58:22 +00:00
Jim Meyering c89c93ecf6 (my-distcheck): Add -Wall to the list of options that
are used with -Werror.  This target is not intended for general use.
2005-06-14 08:25:53 +00:00
Jim Meyering 44d59bb168 Update FSF postal mail address. 2005-05-14 07:58:31 +00:00
Jim Meyering 661e61bac5 Update FSF postal mail address. 2005-05-14 07:25:26 +00:00
Paul Eggert f6a798eeef (emit_upload_commands): Remove fetish.sf.net. 2005-04-18 23:30:19 +00:00
Jim Meyering 29cb226323 (sc_system_h_headers): Propagate exit status through trap. 2005-04-09 07:24:49 +00:00
Jim Meyering e56af571b0 Reflect renaming: config -> build-aux. 2005-03-22 16:17:07 +00:00
Jim Meyering 908a461e32 (v_etc_file): The version string has moved to
version-etc-fsf.c, search that new file, not version-etc.c.
2005-01-22 09:05:09 +00:00
Jim Meyering d1e65bfb48 (sc_changelog): Specify find's `-maxdepth 2'
predicate before `-name ChangeLog' to avoid a harmless warning
from find-4.2.10.
2005-01-06 08:12:28 +00:00
Jim Meyering ee7a366a3d (sc_root_tests): New rule.
(syntax-check-rules): Add it to the list.
2005-01-05 08:25:51 +00:00
Jim Meyering 0bec4a7a8c (CVS_LIST): Use --types=AFGM option so that
it lists only cvs-controlled regular files.
2004-09-24 08:13:02 +00:00
Paul Eggert acb0c67d6a (CVS_LIST): New macro.
(sc_space_tab, sc_prohibit_atoi_atof, sc_file_system,
sc_prohibit_jm_in_m4, sc_system_h_headers, sc_sun_os_names,
sc_trailing_blank, po-check): Use it instead of the
nonstandard "cvsu --list".
2004-09-24 05:53:05 +00:00
Jim Meyering 7ff5102854 (syntax-check-rules): Remove duplicate sc_tight_scope.
(sc_system_h_headers): Also exclude copy.h; it includes <stdbool.h>.
2004-09-22 20:02:53 +00:00
Paul Eggert d2ea67e96f (my-distcheck): When building with -Werror, also require -Wshadow. 2004-09-13 12:08:33 +00:00
Jim Meyering 4d24e71891 (sc_file_system): New target.
(syntax-check-rules): Add it.
2004-06-30 22:30:44 +00:00
Jim Meyering 53416c2060 (sc_unmarked_diagnostics): Now that the unmarked
diagnostics in shred.c have been fixed, don't exempt shred.c from
this check.
2004-05-20 11:37:07 +00:00
Jim Meyering 094bc55f63 Whoops: s/sc_src_tight_scope/sc_tight_scope/ 2004-04-28 12:42:14 +00:00
Jim Meyering 6a9fd0063c Rename to sc_tight_scope.
(syntax-check-rules): Really add it.
2004-04-27 16:58:02 +00:00
Jim Meyering 350228c3be (sc_src_functions_have_static_scope): New rule.
(syntax-check-rules): Add it.
2004-04-27 14:57:11 +00:00
Jim Meyering e17c7db93b (sc_trailing_blank): New rule.
(syntax-check-rules): Add it.
2004-04-19 14:18:17 +00:00
Jim Meyering 9e946b86fa (sc_prohibit_jm_in_m4): New rule.
(syntax-check-rules): Add to the list.
2004-04-17 10:47:20 +00:00