From 6dc540ed7ac60c756f4db8b78ac244d91eeb4f6b Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 7 Mar 2017 21:29:00 -0800 Subject: [PATCH] build: avoid redundant build of tr with --enable-single-binary * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local.mk b/src/local.mk index 84df09916d..9b2b172d26 100644 --- a/src/local.mk +++ b/src/local.mk @@ -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. -- 2.47.2