summaryrefslogtreecommitdiff
path: root/Makefile.maint
AgeCommit message (Collapse)Author
2007-11-27Don't block use of 'cat' or 'wc' in "make check".Jim Meyering
* Makefile.maint (my-distcheck): Add "cat" and "wc" to the list of programs that we can't blacklist.
2007-11-22Make it easier to diagnose PATH-induced "make distcheck" failures.Jim Meyering
* Makefile.maint (write_loser): Define. (my-distcheck): Use an always-failing wrapper script, that gives a diagnostic, not "false". Run only "make -C tests check" with the restrictive PATH. Run the new gnulib-tests/ with the usual PATH.
2007-11-16Avoid an obscure new "make distcheck" failure.Jim Meyering
* Makefile.maint (my-distcheck): Also allow 'mv', for its use in gnulib-tests/Makefile.
2007-10-31Fix a "make distcheck" failure.Jim Meyering
* Makefile.maint (my-distcheck): Don't stub-out dirname, since build-aux/check.mk now uses it.
2007-10-21Put always-failing programs first in PATH, so tests cannot mistakenly run ↵Jim Meyering
installed versions. * Makefile.maint (my-distcheck): Set up a bogus bin/ dir, to be used for "make check". Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-08-24Arrange to use tag names like vM.N, rather than COREUTILS-M_N.Jim Meyering
* Makefile.maint (this-vc-tag) [git]: Simply use v$(VERSION). (this-vc-tag-regexp): New variable. (vc-tag-check): Use it, rather than $(this-vc-tag).
2007-08-23* Makefile.maint (patch-check): Don't remove temporaries upon failure.Jim Meyering
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-23Update c99/c89 patch for new, copyright-change-induced offsets.Jim Meyering
* Makefile.maint (patch-check): Filter out '^Only in...' lines. * src/c99-to-c89.diff: Handle new c99'isms in seq.c.
2007-07-11If there's a GPL vN copyright comment, require that N == 3.Jim Meyering
* Makefile.maint (sc_GPL_version): New rule. * tests/misc/arch: Fix the sole violation.
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-07-09Compensate for new c99'isms in seq.c.Jim Meyering
* Makefile.maint (patch-check): Use -p1, not -p2, so a patch generated via "make patch-check REGEN=1" actually works. * src/c99-to-c89.diff: Handle new c99'isms in seq.c.
2007-06-23Prefer "STREQ (a, b)" over "strcmp (a, b) == 0"; similar for != 0.Jim Meyering
* src/base64.c (main): Likewise. * src/install.c (setdefaultfilecon): Likewise. * src/sort.c (main): Likewise. * Makefile.maint (sc_prohibit_strcmp): New rule. * .x-sc_prohibit_strcmp: New file, to list the few exceptions. * Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp.
2007-06-15Don't include "quote.h" when it is not used.Jim Meyering
* src/md5sum.c: Remove unnecessary inclusion of "quote.h". * src/expr.c: Likewise. * src/shred.c: Likewise. * Makefile.maint (sc_prohibit_quote_without_use): New rule. * src/c99-to-c89.diff: Adjust offsets.
2007-06-13Don't include "quotearg.h" when it is not used.Jim Meyering
* Makefile.maint (sc_prohibit_quotearg_without_use): New rule. * src/cp.c: Don't include "quotearg.h". It wasn't used.
2007-05-22Check for an up-to-date copyright year in coreutils.texi.Jim Meyering
* Makefile.maint (copyright-check): Also check for an up-to-date copyright year in doc/$().texi, if that file exists. * doc/coreutils.texi: Add 2007 to list of Copyright years. Reported by Karl Berry.
2007-05-22stty: diagnose an invalid hex value in 35-colon commmand-line argumentJim Meyering
* NEWS: Mention this. * src/stty.c (strtoul_tcflag_t, strtoul_cc_t): New functions. (recover_mode): Use those functions (not sscanf), to parse the string robustly. * tests/stty/invalid: New file. Test for the above. * tests/stty/Makefile.am (TESTS): Add invalid. * .x-sc_prohibit_atoi_atof: Don't exempt stty.c from this check. Add tests/stty/invalid so we don't have to obfuscate the comment about sscanf therein. * Makefile.maint (sc_prohibit_atoi_atof): Mention sscanf in the diagnostic, too.
2007-05-18* Makefile.maint (my-distcheck): Remove -pedantic from $(CFLAGS)Jim Meyering
for now, to avoid c89-check failure due to use of #include_next.
2007-03-15Enforce policy: don't use *scanf functions.Jim Meyering
* Makefile.maint (sc_prohibit_atoi_atof): Add to regexp and diagnostic. * .x-sc_prohibit_atoi_atof: Give stty a temporary pass. * TODO: note that stty.c needs this small clean-up.
2007-03-10* Makefile.maint (po-check): Exclude c99-to-c89.diff.Jim Meyering
2007-03-02* Makefile.maint (my-distcheck): Skip the c99/c89 check if there's no such ↵Jim Meyering
.diff file.
2007-03-02Remove another coreutils-ism. Formatting cleanup.Jim Meyering
* Makefile.maint (my-distcheck): Update an outdated comment. (emit_upload_commands): Use $(PACKAGE) rather than "coreutils".
2007-03-01* Makefile.maint (warn_cflags): Hoist, adding "-Dlint -O".Jim Meyering
(my-distcheck): Use the new variable, instead of too-long literal.
2007-03-01Make "make syntax-check" rules less coreutils-specific.Jim Meyering
* Makefile.maint (sc_cast_of_x_alloc_return_value): Use CVS_LIST_EXCEPT. (sc_cast_of_alloca_return_value): Likewise. (sc_root_tests): Do nothing if there is no check-root target in tests/Makefile.am.
2007-03-01Run the writable-files check only for release-building targets.Jim Meyering
* Makefile.maint (local-checks-available): Remove writable-files. (alpha beta major): Put it here, instead.
2007-03-01"make syntax-check" now runs only Makefile.cfg-selected testsJim Meyering
* Makefile.maint (syntax-check-rules): Hoist this definition so that it precedes the indirect use in the definition of $(local-check). (local-check): Use :=, not just "=". (syntax-check): Depend on $(local-check), not $(syntax-check-rules).
2007-02-28* Makefile.maint (gnulib_snapshot_date): Remove now-unused definition.Jim Meyering
2007-02-25* Makefile.maint (announcement): Adjust so that it works withJim Meyering
announce-gen's --gnulib-snapshot-time-stamp option. Indent one of the command lines using TAB, not 8 spaces.
2007-02-10* Makefile.maint (longopt_re): Relax the regexp, making squareJim Meyering
brackets optional, so it matches the newly reported violations, too.
2007-02-02* src/c99-to-c89.diff: Make shred.c Index: and a/b prefixesJim Meyering
consistent, so this can be applied with patch -p0. Reported by Matthew Woehlke. * Makefile.maint (patch-check): Use patch with its -p2 option, since that makes this check slightly more strict.
2007-01-24Pass "make distcheck" again.Jim Meyering
* src/sort.c (usage): Split a diagnostic that had grown to be longer than the C89 maximum of 509 bytes. * .x-sc_cast_of_argument_to_free: New file. Allow a cast in sort.c. FIXME: this is just temporary, while we wait to remove the offending access-calling code. * Makefile.am (EXTRA_DIST): Add .x-sc_cast_of_argument_to_free. * Makefile.maint (sc_cast_of_argument_to_free): Use the canonical, $$($(CVS_LIST_EXCEPT)). * m4/.gitignore, m4/.cvsignore, lib/.gitignore, lib/.cvsignore: Update.
2007-01-07* tests/sample-test: Update copyright date to 2007.Jim Meyering
* Makefile.maint (copyright-check): Also check the copyright date in tests/sample-test.
2006-12-26* Makefile.maint (VC-tag): Define, so as to gpg-sign each releaseJim Meyering
tag, using the release version number as the message. (vc-dist): Use $(VC-tag), rather than "$(VC) tag". 2006-12-24 Jim Meyering <jim@meyering.net> * Makefile.maint (my-distcheck): Don't *configure* with restrictive CFLAGS ('-Werror -ansi -pedantic -Wno-long-long'), since it ends up provoking errors in generation of inttypes.h on an Ubuntu edgy-based system. That leads to compilation failure due to e.g., imaxabs redefinition. Instead, configure with default CFLAGS, and compile the package with restrictive CFLAGS.
2006-12-21* Makefile.maint (patch-check): Fix shell quoting.Jim Meyering
2006-12-08Include bootstrap tool version info in the announcement form.Jim Meyering
* Makefile.maint (gnulib_snapshot_date): Define. (announcement): Use two new announce-gen options, --bootstrap-tools and --gnulib-snapshot-date. * Makefile.cfg (gnulib_dir): Set.
2006-11-27* Makefile.maint (patch-check): Rewrite to diagnose failure.Jim Meyering
* src/c99-to-c89.diff: Adjust shred.c offsets.
2006-11-27Improve the check for departures from C89, and fix the departuresPaul Eggert
I found. * Makefile.maint (my-distcheck): Also check for C89 compatibility as best we can with GCC. * src/stat.c (PRINTF_OPTION): Omit comma before } in enum declaration; C89 doesn't allow this. * src/dcgen: Don't generate string literals longer than what C89 requires support for. * src/cut.c (usage): Don't use string literals longer than what C89 requires support for. * src/date.c (usage): Likewise. * src/dd.c (usage): Likewise. * src/du.c (usage): Likewise. * src/ls.c (usage): Likewise. * src/od.c (usage): Likewise. * src/readlink.c (usage): Likewise. * src/seq.c (usage): Likewise. * src/shred.c (usage): Likewise.
2006-11-26* Makefile.maint (patch-check): Compile patched sources withJim Meyering
CFLAGS='-Wdeclaration-after-statement -Werror', to ensure that no violations remain.
2006-11-23* announce-gen: Remove file. It's moving to gnulib.Jim Meyering
* bootstrap: Pull it from gnulib/build-aux instead. * Makefile.maint (announcement): Reflect move to ./build-aux.
2006-11-22* Makefile.maint (announcement): Don't use now-removedJim Meyering
--release-archive-directory=... option.
2006-11-12* Makefile.maint (sc_cast_of_x_alloc_return_value): Add an exclusionJim Meyering
for xalloc.h itself.
2006-10-28* Makefile.maint (patch-check): Make it easier to regenerateJim Meyering
the src/c99-to-c89.diff file. E.g., I do this: make patch-check REGEN_PATCH=1; ediff src/c99-to-c89.diff new-diff
2006-10-23* Makefile.maint (alpha beta major): Use a better log message.Jim Meyering
Suggested by Bob Proulx.
2006-10-22* Makefile.maint: Complete the adaptation to function with a workingJim Meyering
directory that is using git (rather than cvs) for version control.
2006-10-19* Makefile.maint (po-check): This rule didn't detect the new useJim Meyering
of "gettext" (as opposed to the use of "_" everywhere else) in lib/xstrtol.h. Adjust the grep regexp so that now it does.
2006-10-14* Makefile.maint (headers_with_interesting_macro_defs): Define.Jim Meyering
(.re-defmac, sc_always_defined_macros): New rules.
2006-10-14[ChangeLog]Jim Meyering
* Makefile.cfg: Remove cruft that's now handled via bootstrap. * Makefile.maint: Likewise, remove these targets/rules/variables: (local_updates, update, cvs-update, wget_files, get-targets): Remove. (cvs_files, wget-update, automake_repo): Likewise. Move the comment about cvsu to build-aux/vc-list-files, where cvsu is actually used. [build-aux/ChangeLog] * vc-list-files: Add a comment about cvsu.
2006-10-14* Makefile.maint (cvs-update): Use $(CVS), not "cvs".Jim Meyering
2006-09-16* Makefile.maint (sc_require_config_h, sc_prohibit_assert_without_use):Jim Meyering
Discard stdout from the new use of grep.
2006-09-09* Makefile.maint (sc_prohibit_assert_without_use): Likewise.Jim Meyering