$(if C,A,B) seems to always select B

2018-03-27 Thread warnerme
Running the makefile below should generate identical values of TEST_COREx TEST_COREy and TEST_COREz but doesn't when running "make test" on Ubuntu 16.04 with make 4.1 TEST_COREz is always correct. Oddly, this used to work about 6 months ago.

Re: $(if C,A,B) seems to always select B

2018-03-27 Thread Paul Smith
On Mon, 2018-03-26 at 19:38 -0700, warnerme wrote: > TEST_COREx := $(if ifeq ($(shell expr $(TEST_CORE) \< $(NUM_CORES)), > 1), $(TEST_CORE), $(shell expr $(NUM_CORES) - 1)) > TEST_COREy := $(if ifeq ($(shell expr $(TEST_CORE) \>= $(NUM_CORES)), > 1), $(shell expr $(NUM_CORES) - 1), $(TEST_CORE))

Documentation bug: mistaken transitive verb

2018-03-27 Thread Garreau, Alexandre
I was reading make info documentation for the second time since a quite long time now, and I suppose my english level has improved since this time this bugged me: * Variables Simplify:: Variables make makefiles simpler. After overcoming the doubt caused by the uncommon use of a conjugated sen

RE: Documentation bug: mistaken transitive verb

2018-03-27 Thread Martin Dorey
> mistaken transitive verb I think we can take your testimony as a demonstration that it's an infelicitous phrasing, which is the kind of useful insight that wouldn't occur to at least this native English (and fluent make) speaker, but, for what it's worth, I don't think it's a grammatical erro