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.
This commit is contained in:
Bernhard Voelker authored and Pádraig Brady committed 2017-03-07 21:34:06 -08:00
1 parent 6fc3ef9e6f
commit 6dc540ed7a
1 file changed
+1 -1
+1 -1
View 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.