]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: avoid redundant build of tr with --enable-single-binary
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 8 Mar 2017 05:29:00 +0000 (21:29 -0800)
committerPádraig Brady <P@draigBrady.com>
Wed, 8 Mar 2017 05:34:06 +0000 (21:34 -0800)
* src/local.mk [check-duplicate-no-install]: Depend on the
single-binary tr, or the system tr, as the edge case
where these are not available only result in the sanity
check being effectively ignored.

src/local.mk

index 84df09916dcc9755610f26c24b6adbb68214cb6a..9b2b172d264de43bcae36225c3cc1fa169c391a7 100644 (file)
@@ -644,7 +644,7 @@ check-README:
 # entry, because if that were to happen, it *would* be installed
 # by default.
 .PHONY: check-duplicate-no-install
-check-duplicate-no-install: src/tr
+check-duplicate-no-install:
        $(AM_V_GEN)test -z "`echo '$(EXTRA_PROGRAMS)' | tr ' ' '\n' | uniq -d`"
 
 # Use the just-built 'ginstall', when not cross-compiling.