summaryrefslogtreecommitdiff
path: root/Makefile.maint
AgeCommit message (Collapse)Author
2008-02-29Use "git tag", not "git-tag", in preparation for git-1.6.0.Jim Meyering
* Makefile.maint (VC-tag): Remove '-': s/git-tag/git tag/
2008-02-20Remove xdelta support, clean up distcheck process.Jim Meyering
* Makefile.maint (writable-files): Don't create $(release_archive_dir). (my-distcheck): Don't depend on prev-tgz. Remove xdelta-related variables and uses. (alpha beta major): Skip steps if $(release_archive_dir) doesn't exist.
2008-02-17Clean up Makefile.maint.Jim Meyering
* Makefile.maint: Remove obsolete comments. (local-checks-available): Remove changelog-check.
2008-02-10Ensure there are no removable (useless) if-before-free tests.Jim Meyering
* bootstrap.conf (gnulib_modules): Add useless-if-before-free. * Makefile.maint (sc_avoid_if_before_free): New rule.
2008-02-09tests: Remove priv-check. Use new require_root_ function instead.Jim Meyering
* tests/priv-check: Remove file. * tests/Makefile.am (EXTRA_DIST): Remove priv-check. * tests/test-lib.sh (require_root_): New function. Use this function rather than sourcing the priv-check file. * tests/sample-test: Use require_root_ rather than priv-check. * tests/chown/basic: Likewise. * tests/cp/cp-a-selinux: Likewise. * tests/cp/preserve-gid: Likewise. * tests/cp/special-bits: Likewise. * tests/ls/nameless-uid: Likewise. * tests/misc/chcon: Likewise. * tests/mkdir/writable-under-readonly: Likewise. * tests/mv/sticky-to-xpart: Likewise. * tests/rm/fail-2eperm: Likewise. * tests/rm/no-give-up: Likewise. * tests/rm/one-file-system: Likewise. * tests/tail-2/append-only: Likewise. * tests/touch/now-owned-by-other: Likewise. * tests/rm/fail-eperm: Use skip_if_root_ rather than priv-check. * Makefile.maint (sc_root_tests): Reflect this change: search for the new function name.
2008-02-04Makefile.maint (announcement): Remove stale comment.Jim Meyering
2008-01-26Clean up build-related rules.Jim Meyering
* Makefile.cfg (gnulib_dir): Update comment. * Makefile.maint (announcement) [cl_date, utc_date]: Don't set now-unused variables.
2008-01-12Use new version of announce-gen.Jim Meyering
* Makefile.maint (announcement): Remove use of the --gnulib-snapshot-time-stamp option. Use new --gnulib-version option instead. (gnulib-version): New variable.
2007-12-02Make my-distcheck depend on "check".Jim Meyering
* Makefile.maint (my-distcheck): Also depend on "check", so I can't tag and release something that fails "make check" (however harmless) when run in a checked-out-from-git dir, but not in the distributed tarball. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-12-01Change release procedure: tag *before* running e.g., "make stable".Jim Meyering
* Makefile.maint (vc-dist): Don't tag. Now, you must apply the tag before running "make beta", "make stable", etc. (vc-tag-check): Remove rule. No longer makes sense.
2007-12-01* Makefile.maint (vc-tag-check): Correct check for existing git tag.Jim Meyering
2007-12-01Defer NEWS and ChangeLog checks until after the version-changing tag.Jim Meyering
* Makefile.maint (alpha beta major): Don't depend on the news-date-check changelog-check targets. They must fail before applying the version-changing tag. Instead, run them after "vc-dist".
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.