summaryrefslogtreecommitdiff
path: root/dist-check.mk
AgeCommit message (Collapse)Author
2016-11-30maint: avoid "make distcheck" failure without excess .deps directoriesPádraig Brady
* Makefile.am (my-distcheck): Add the -r option to xargs so that rmdir doesn't return an error when there are no extraneous .deps dirs.
2016-11-22maint: avoid "make distcheck" failure due to excess .deps directoriesJim Meyering
* Makefile.am (my-distcheck): Remove all .deps directories before the recursive diff that searches for left-behind files. Otherwise, with automake master (some time after v1.15), "make distcheck" would fail due to those directories being left behind after "make distclean".
2012-09-01maint: fix build_programs definition not to use "make -C src ..."Stefano Lattarini
* dist-check.mk (built_programs): There's no need to issue recursive make calls in 'src/' to define this (in fact, that works no longer now that 'src/Makefile.am' is gone). Simply define this to the sorted contents of $(bin_PROGRAMS), with the 'src/' prefix and the $(EXEEXT) suffix (if any) removed. Reported by Jim Meyering.
2012-03-20maint: remove now-superfluous coreutils-path-check ruleJim Meyering
* dist-check.mk (coreutils-path-check): Now that we set PATH in TESTS_ENVIRONMENT, it seems like overkill to make "distcheck" rerun all tests just to check this. (my-distcheck): Remove sole use.
2009-12-20build: correct coreutils-specific distcheck rulesJim Meyering
* dist-check.mk (built_programs): Use $(bin_PROGRAMS), not $(PROGRAMS). Otherwise, my-instcheck would fail due to non-installation of e.g., the noinst_PROGRAMS, setuidgid and getlimits. (taint-distcheck): Correct the grep command that checks for libtool traces in configure.
2009-12-14maint: improve dist-check.mk rulesJim Meyering
* dist-check.mk (null_AM_MAKEFLAGS): Remove LIBTOOL. Adding it was erroneous, since it is required when building from a distribution tarball of a libtool-using project. Reported by Ralf Wildenhues. (my-distcheck): Reorganize to use a subshell and set -e, so that failures propagate "out". Without this change, setting LIBTOOL=false would cause a failure that would then be ignored, probably due to a problem in $(install-transform-check).
2009-12-13tests: unpack xz-compressed tarballs when possible, not always *.gzJim Meyering
* dist-check.mk: Unpack compressed tarball using xz when possible, since that's faster.
2009-12-13maint: make dist-check.mk more easily sharedJim Meyering
* dist-check.mk (built_programs): More generic, but still assumes src/. Don't set GZIP in environment when untarring. (my-distcheck): Use $(DIST_ARCHIVES), rather than assuming that there is always a .tar.gz file.
2009-12-13tests: make the taint-distcheck rule easier to share with other projectsJim Meyering
* dist-check.mk (taint-distcheck): Skip this test in a project that uses libtool.
2009-12-13maint: move definitions from maint.mk to dist-check.mkJim Meyering
* dist-check.mk (null_AM_MAKEFLAGS): Define here, not in maint.mk. (built_programs): Likewise. (my-distcheck): Move comments to... (coreutils-path-check): ...the code they refer to. Remove obsolete comments. (null_AM_MAKEFLAGS): Add gperf, even though it's not used here. * gnulib: Update to latest, for fixed maint.mk.
2009-12-07build: distcheck: do not leave a $TMPDIR/coreutils directory behindJim Meyering
* dist-check.mk (tmpdir): Rename from TMPDIR. Use ./tests/torture unconditionally, rather than $TMPDIR-with-default-to-/tmp. Otherwise, running "make distcheck" could leave an empty /tmp/coreutils directory behind. (tp): Simplify, now that it's always in the build-dir. (taint-distcheck): Set HOME earlier, in case $(MAKE) misbehaves. (my-instcheck, coreutils-path-check): Add diagnostics, so it's easier to diagnose when each runs. (coreutils-path-check): Run configure with --quiet, to reduce output. Inspired by Ralf Wildenhues' report of /tmp/coreutils being left behind.
2009-06-02build: make distcheck rules use --enable-gcc-warningsJim Meyering
* dist-check.mk (warn_cflags): Remove definition, now that it's been subsumed by --enable-gcc-warnings. (my-distcheck): Use configure with --enable-gcc-warnings and remove use of $(warn_cflags).
2009-05-17build: avoid new "make distcheck" failure with gcc 4.5.0 20090517Jim Meyering
* dist-check.mk (warn_cflags): Add -Wno-enum-compare.
2009-04-24build: move coreutils-specific rules from maint.mk to new fileJim Meyering
* dist-check.mk: New file: coreutils-specific rules extracted from maint.mk, now that maint.mk has migrated to gnulib. * Makefile.am (EXTRA_DIST): Add dist-check.mk. * coreutils/cfg.mk: Include $(srcdir)/dist-check.mk. * gnulib: Update submodule to latest.